Add testcase for PR20742.
2010-07-20 Sebastian Pop <sebastian.pop@amd.com> * gcc.dg/tree-ssa/pr20742.c: New. From-SVN: r163150
This commit is contained in:
parent
6f23dd91cb
commit
5df5f257f5
|
@ -1,3 +1,7 @@
|
|||
2010-07-20 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* gcc.dg/tree-ssa/pr20742.c: New.
|
||||
|
||||
2010-07-15 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* sese.c (rename_uses): Call unshare_expr before force_gimple_operand.
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2010-08-02 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* gcc.dg/tree-ssa/pr20742.c: New.
|
||||
|
||||
2010-08-02 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* gcc.dg/graphite/id-23.c: New.
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
#define TEN(x) x x x x x x x x x x
|
||||
#define THOUSAND(x) TEN (TEN (TEN (x)))
|
||||
|
||||
int
|
||||
foo (int x, int y)
|
||||
{
|
||||
register int a = y + 57;
|
||||
register int b = y + 31;
|
||||
|
||||
while (x-- > 0)
|
||||
{
|
||||
THOUSAND (a += b; b -= a;)
|
||||
}
|
||||
return a + b;
|
||||
}
|
Loading…
Reference in New Issue