Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / pr47028.c
blob3f80ff1c5e759354d7573eb0edbe11c63f56b2d7
1 /* PR rtl-optimization/47028 */
2 /* { dg-do run } */
3 /* { dg-options "-O -foptimize-sibling-calls -fno-forward-propagate -fno-tree-copy-prop -fno-tree-dominator-opts" } */
5 int
6 fib (int n)
8 if (n <= 1)
9 return 1;
10 return fib (n - 2) + fib (n - 1);
13 int
14 main (void)
16 if (fib (5) != 8)
17 __builtin_abort ();
18 return 0;