Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr107394.c

raw
1 // { dg-do compile }
2 // { dg-options "-O2" }
3
4 static double
5 quux (double x)
6 {
7 return __builtin_fabs (x);
8 }
9
10 __attribute__ ((flatten, optimize ("-ffinite-math-only"))) static int
11 bar (int *p)
12 {
13 *p = quux (0.0);
14
15 return 0;
16 }
17
18 void
19 foo (int *p)
20 {
21 (void) bar (p);
22 }