Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr56098-1.c
blob68e71fc0b98e5a83e56378b4943dc248944c1804
1 /* PR tree-optimization/56098 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
5 volatile int *p;
7 void
8 foo (int x)
10 *p = 1;
11 if (x)
12 *p = 2;
15 /* { dg-final { scan-tree-dump-not "=\[^\n\r]*\\*p" "optimized" } } */