This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed to fix gcc.dg/wtr-int-type-1.c regression
- To: gcc-patches at gcc dot gnu dot org
- Subject: Patch installed to fix gcc.dg/wtr-int-type-1.c regression
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 29 Sep 2000 10:49:05 -0400 (EDT)
(Oops, forgot to post this.)
I installed the following patch to fix the "regression" in
wtr-int-type-1.c. The need for this is actually an expected result of
adding the new -Wsystem-header flag. I.e. since we now default to
never showing warnings in system headers, it is incorrect to expect
them in the test.
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/ChangeLog,v
retrieving revision 1.733
diff -u -p -r1.733 ChangeLog
--- ChangeLog 2000/09/26 14:14:33 1.733
+++ ChangeLog 2000/09/28 14:45:40
@@ -1,3 +1,7 @@
+2000-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gcc.dg/wtr-int-type-1.c: Don't expect a warning from system headers.
+
2000-09-26 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20000923-1.c: New test.
Index: gcc.dg/wtr-int-type-1.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/gcc.dg/wtr-int-type-1.c,v
retrieving revision 1.2
diff -u -p -r1.2 wtr-int-type-1.c
--- wtr-int-type-1.c 2000/09/05 15:52:44 1.2
+++ wtr-int-type-1.c 2000/09/28 14:45:40
@@ -42,4 +42,3 @@ testfunc (void)
/* Ignore "decimal constant is so large that it is unsigned" warnings. */
/* { dg-warning "decimal constant" "decimal constant" { target *-*-* } 26 } */
-/* { dg-warning "decimal constant" "decimal constant" { target *-*-* } 40 } */