]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr37879.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr37879.c
CommitLineData
6a16e934
JJ
1/* PR tree-optimization/37879 */
2/* { dg-do compile } */
3/* { dg-options "-O2" } */
4
5static inline void bar (int) __attribute__ ((noreturn));
6void baz () __attribute__ ((noreturn));
7
8inline int
9foo (int i)
10{
11 return i;
12}
13
14int i = 23;
15static inline void
16bar (int j)
17{
18 if (j)
19 asm ("");
20} /* { dg-warning "does return" } */
21
22void
23baz ()
24{
25 int j;
26 bar (foo (j = i++));
27 asm ("");
28}