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
PR tree-optimization/33562
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr20742.c
blob
21d6eb63c8ccb9fbf8b09b27ecea57fa7c32e0ba
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
#define TEN(x) x x x x x x x x x x
5
#define THOUSAND(x) TEN (TEN (TEN (x)))
6
7
int
8
foo
(
int
x
,
int
y
)
9
{
10
register
int
a
=
y
+
57
;
11
register
int
b
=
y
+
31
;
12
13
while
(
x
-- >
0
)
14
{
15
THOUSAND
(
a
+=
b
;
b
-=
a
;)
16
}
17
return
a
+
b
;
18
}