This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] remove some xfails


I did verify that we are in fact legitimately cleaning up the cfg
such that we can see that these are not used uninitialized, and
not just regressing the strength of the warning.


r~


        * gcc.dg/uninit-1.c, gcc.dg/uninit-3.c, gcc.dg/uninit-8.c,
        gcc.dg/uninit-9.c: Remove XFAIL.

Index: testsuite/gcc.dg/uninit-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/uninit-1.c,v
retrieving revision 1.2
diff -c -p -d -u -r1.2 uninit-1.c
--- testsuite/gcc.dg/uninit-1.c	4 Sep 1999 15:09:14 -0000	1.2
+++ testsuite/gcc.dg/uninit-1.c	30 Mar 2004 23:31:54 -0000
@@ -13,7 +13,7 @@ extern void free (void *);
 
 void remove_dupes (struct list *el)
 {
-  struct list *p, *q, *r;  /* { dg-bogus "r" "uninitialized variable warning" { xfail *-*-* } } */
+  struct list *p, *q, *r;  /* { dg-bogus "r" "uninitialized variable warning" } */
 
   for (p = el; p; p = p->next)
   {
Index: testsuite/gcc.dg/uninit-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/uninit-3.c,v
retrieving revision 1.2
diff -c -p -d -u -r1.2 uninit-3.c
--- testsuite/gcc.dg/uninit-3.c	4 Sep 1999 15:09:14 -0000	1.2
+++ testsuite/gcc.dg/uninit-3.c	30 Mar 2004 23:31:54 -0000
@@ -8,7 +8,7 @@ extern void error (char *);
 int
 parse_charconst (const char *start, const char *end)
 {
-  int c; /* { dg-bogus "c" "uninitialized variable warning" { xfail *-*-* } } */
+  int c; /* { dg-bogus "c" "uninitialized variable warning" } */
   int nchars, retval;
 
   nchars = 0;
Index: testsuite/gcc.dg/uninit-8.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/uninit-8.c,v
retrieving revision 1.2.36.2
diff -c -p -d -u -r1.2.36.2 uninit-8.c
--- testsuite/gcc.dg/uninit-8.c	10 Feb 2004 00:53:36 -0000	1.2.36.2
+++ testsuite/gcc.dg/uninit-8.c	30 Mar 2004 23:31:54 -0000
@@ -11,7 +11,7 @@ void
 add_bignums (int *out, int *x, int *y)
 {
     int p, sum;
-    int carry; /* { dg-bogus "carry" "uninitialized variable warning" { xfail *-*-* } } */
+    int carry; /* { dg-bogus "carry" "uninitialized variable warning" } */
 
     p = 0;
     for (; *x; x++, y++, out++, p++)
Index: testsuite/gcc.dg/uninit-9.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/uninit-9.c,v
retrieving revision 1.2
diff -c -p -d -u -r1.2 uninit-9.c
--- testsuite/gcc.dg/uninit-9.c	17 Apr 1999 16:58:30 -0000	1.2
+++ testsuite/gcc.dg/uninit-9.c	30 Mar 2004 23:31:54 -0000
@@ -23,7 +23,7 @@ func(struct foo *list, int count)
 {
     int n_clobbers = 0;
     int i;
-    struct foo **clob_list;   /* { dg-bogus "clob_list" "uninitialized variable warning" { xfail *-*-* } } */
+    struct foo **clob_list;   /* { dg-bogus "clob_list" "uninitialized variable warning" } */
 
     if(list[0].type == PARALLEL)
     {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]