* gcc.dg/tree-ssa/20050412-1.c: New test.
From-SVN: r98067
This commit is contained in:
parent
fef0657c25
commit
0b90f180b7
@ -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>
|
2005-04-13 Thomas Koenig <Thomas.Koenig@online.de>
|
||||||
|
|
||||||
PR libfortran/19016
|
PR libfortran/19016
|
||||||
|
16
gcc/testsuite/gcc.dg/tree-ssa/20050412-1.c
Normal file
16
gcc/testsuite/gcc.dg/tree-ssa/20050412-1.c
Normal 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" } } */
|
Loading…
Reference in New Issue
Block a user