Commit 0b90f180 by Jeff Law Committed by Jeff Law

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

From-SVN: r98067
parent fef0657c
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
......
/* 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" } } */
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