PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / ipa-sra-5.c
blob3310a6df2e75ab3b0d448dcee5564b4e32d0859a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fipa-sra -fdump-tree-eipa_sra-details" } */
4 static int *
5 __attribute__((noinline,used))
6 ox (int *i, int *j)
8 return i;
11 int a;
13 int *caller (void)
15 int b = 10;
17 return ox (&a, &b);
19 /* { dg-final { scan-tree-dump-times "base: j, remove_param" 0 "eipa_sra" } } */