libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33645-2.c
blob3c4bcb060e562dc7259358195fc71efd0dffe31a
1 /* PR tree-optimization/33645 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -funit-at-a-time" } */
5 __attribute__((noinline)) int
6 bar (int *x)
8 return *x++;
11 int
12 main ()
14 static int var1_s;
15 static int *var1_t = &var1_s;
17 return bar (var1_t) != 0;
20 /* { dg-final { scan-assembler-not "var1_t" } } */