PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / fuse-caller-save.c
blob2854b946543f73885d2a861e3e0c8a53b2163f9f
1 /* { dg-do run } */
2 /* { dg-options "-fipa-ra" } */
3 /* Testing -fipa-ra optimization option. */
5 static int __attribute__((noinline))
6 bar (int x)
8 return x + 3;
11 int __attribute__((noinline))
12 foo (int y)
14 return y + bar (y);
17 int
18 main (void)
20 return !(foo (5) == 13);