repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr104381.c
blob
a3aec919beedc5cbb63378f82bcaa9389eb018ee
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -g -gtoggle -fdump-tree-optimized" } */
3
4
int
foo
(
int
x
)
5
{
6
int
tem
=
x
+
1
;
7
int
tem2
=
tem
-
1
;
8
return
tem2
;
9
}
10
11
int
12
__attribute__
((
optimize
(
"no-tree-pre"
)))
13
bar
(
int
x
)
14
{
15
int
tem
=
x
+
1
;
16
int
tem2
=
tem
-
1
;
17
return
tem2
;
18
}
19
20
// { dg-final { scan-tree-dump-not "DEBUG " "optimized" } }