diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/20030711-1.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/uninit-5.c | 4 |
3 files changed, 11 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f446da7e327..95b879ae8f8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,10 @@ -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/20436 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/20030711-1.c b/gcc/testsuite/gcc.dg/tree-ssa/20030711-1.c index 13b919f5cbf..20a660c59fb 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/20030711-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/20030711-1.c @@ -44,12 +44,12 @@ record_component_aliases (type) /* { dg-final { scan-tree-dump-times "blah \\(\\)" 1 "dom3" } } */ /* 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. */ /* { dg-final { scan-tree-dump-times "type\\.binfo" 2 "dom3"} } */ /* 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" } } */ diff --git a/gcc/testsuite/gcc.dg/uninit-5.c b/gcc/testsuite/gcc.dg/uninit-5.c index 21ac9eec6f8..ae7a8de7646 100644 --- a/gcc/testsuite/gcc.dg/uninit-5.c +++ b/gcc/testsuite/gcc.dg/uninit-5.c @@ -9,7 +9,7 @@ extern void foo(void); void func1(int cond) { - int x; /* { dg-bogus "x" "uninitialized variable warning" { xfail *-*-* } } */ + int x; /* { dg-bogus "x" "uninitialized variable warning" } */ if(cond) x = 1; @@ -23,7 +23,7 @@ func1(int cond) void func2 (int cond) { - int x; /* { dg-bogus "x" "uninitialized variable warning" { xfail *-*-* } } */ + int x; /* { dg-bogus "x" "uninitialized variable warning" } */ int flag = 0; if(cond) |