Commit 40287ad3 by Andrew Pinski Committed by Andrew Pinski

alias-21.c: New testcase.

2012-07-21  Andrew Pinski  <apinski@cavium.com>

	* gcc.dg/tree-ssa/alias-21.c: New testcase.
	* gcc.dg/tree-ssa/alias-22.c: New testcase.

From-SVN: r189752
parent d524f43e
2012-07-21 Andrew Pinski <apinski@cavium.com>
* gcc.dg/tree-ssa/alias-21.c: New testcase.
* gcc.dg/tree-ssa/alias-22.c: New testcase.
2012-07-21 Andrew Pinski <apinski@cavium.com>
* gcc.target/mips/octeon-pop-2.c: New testcase.
2012-07-21 Tobias Burnus <burnus@net-b.de>
......
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int f(int *r)
{
r[0] = 0;
r[1] = 1;
return r[0];
}
/* { dg-final { scan-tree-dump-times "return 0;" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int f(int *r)
{
r[1] = 0;
r[2] = 1;
return r[1];
}
/* { dg-final { scan-tree-dump-times "return 0;" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment