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
pretty-print.h (pp_base): Remove.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-reassoc-2.c
blob
e2dd100b71e6ed7e19113b99de75937ca1d213d5
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-original" } */
3
4
int
foo
(
int
i
)
5
{
6
return
(
i
+
2
) - (
i
+
1
);
7
}
8
int
bar
(
int
i
)
9
{
10
return
(
i
+
2
) + ~
i
;
11
}
12
13
/* { dg-final { scan-tree-dump "return 1;" "original" } } */
14
/* { dg-final { cleanup-tree-dump "original" } } */