Commit be240c88 by Jeff Law

uninit-5.c: Remove xfails.

        * gcc.dg/uninit-5.c: Remove xfails.
        * gcc.dg/tree-ssa/20030711-1.c:Reduce the number of
        conditionals and loads.

From-SVN: r98598
parent 74d2efc7
205-04-22 Thomas Koenig <Thomas.Koenig@online.de> 2005-04-22 Jeff Law <law@redhat.com>
* gcc.dg/uninit-5.c: Remove xfails.
* gcc.dg/tree-ssa/20030711-1.c:Reduce the number of
conditionals and loads.
2005-04-22 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/20074 PR libfortran/20074
PR libfortran/20436 PR libfortran/20436
......
...@@ -44,12 +44,12 @@ record_component_aliases (type) ...@@ -44,12 +44,12 @@ record_component_aliases (type)
/* { dg-final { scan-tree-dump-times "blah \\(\\)" 1 "dom3" } } */ /* { dg-final { scan-tree-dump-times "blah \\(\\)" 1 "dom3" } } */
/* There should be four IF conditionals. */ /* There should be four IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 4 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 3 "dom3"} } */
/* There should be two loads of type.binfo. */ /* There should be two loads of type.binfo. */
/* { dg-final { scan-tree-dump-times "type\\.binfo" 2 "dom3"} } */ /* { dg-final { scan-tree-dump-times "type\\.binfo" 2 "dom3"} } */
/* There should be four loads of vec.length. */ /* There should be four loads of vec.length. */
/* { dg-final { scan-tree-dump-times "vec.length" 4 "dom3"} } */ /* { dg-final { scan-tree-dump-times "vec.length" 3 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */ /* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -9,7 +9,7 @@ extern void foo(void); ...@@ -9,7 +9,7 @@ extern void foo(void);
void void
func1(int cond) func1(int cond)
{ {
int x; /* { dg-bogus "x" "uninitialized variable warning" { xfail *-*-* } } */ int x; /* { dg-bogus "x" "uninitialized variable warning" } */
if(cond) if(cond)
x = 1; x = 1;
...@@ -23,7 +23,7 @@ func1(int cond) ...@@ -23,7 +23,7 @@ func1(int cond)
void void
func2 (int cond) func2 (int cond)
{ {
int x; /* { dg-bogus "x" "uninitialized variable warning" { xfail *-*-* } } */ int x; /* { dg-bogus "x" "uninitialized variable warning" } */
int flag = 0; int flag = 0;
if(cond) if(cond)
......
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