OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2012-01-30 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr20742.c
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
}