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
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-reassoc-2.c
blob
a334ec6122a7c7b5c31ae8e90e6eb763cba69bd9
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-times "return 1;" 2 "original" } } */