* gcc.dg/tree-ssa/20050412-1.c: New test.

From-SVN: r98067
This commit is contained in:
Jeff Law 2005-04-12 22:48:14 -06:00 committed by Jeff Law
parent fef0657c25
commit 0b90f180b7
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-04-12 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/20050412-1.c: New test.
2005-04-13 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/19016

View File

@ -0,0 +1,16 @@
/* PR tree-optimization/14627 */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int b;
void foo (int a) {
if (a)
a = 3;
b = a;
}
/* Make sure we do not have an assignment a = 0 in the resulting
optimized dump. */
/* { dg-final { scan-tree-dump-times "a.* = 0;" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */