Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr47391.c
blobfce34f830f4db2f8a532bd86ce850b775ca9d3a3
1 /* PR tree-optimization/47391 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
5 const volatile int v = 1;
6 int i = 0;
8 void
9 foo (void)
11 i = v;
14 int
15 main (void)
17 foo ();
18 return 0;
21 /* { dg-final { scan-tree-dump-not "i = 1;" "optimized" } } */