PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr58805.c
blobb46f7764260b29bc82fc8226d20019f05c5e05c0
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
4 /* Type that matches the 'p' constraint. */
5 #define TYPE void *
7 static inline
8 void bar (TYPE *r)
10 TYPE t;
11 __asm__ ("" : "=&p" (t), "=p" (*r));
14 void
15 foo (int n, TYPE *x, TYPE *y)
17 if (n == 0)
18 bar (x);
19 else
20 bar (y);
23 /* { dg-final { scan-tree-dump-times "__asm__" 2 "pre"} } */