Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr104381.c
bloba3aec919beedc5cbb63378f82bcaa9389eb018ee
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -g -gtoggle -fdump-tree-optimized" } */
4 int foo (int x)
6 int tem = x + 1;
7 int tem2 = tem - 1;
8 return tem2;
11 int
12 __attribute__((optimize("no-tree-pre")))
13 bar (int x)
15 int tem = x + 1;
16 int tem2 = tem - 1;
17 return tem2;
20 // { dg-final { scan-tree-dump-not "DEBUG " "optimized" } }