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]

Re: 5 GCC regressions, 1 new, with your patch on2003-03-22T06:36:49Z.


"GCC regression checker" <geoffk at apple dot com> writes:

> With your recent patch, GCC has some regression test failures, which
> used to pass.  There are 1 new failures, and 4
> failures that existed before and after that patch; 0 failures
> have been fixed.
>
> The new failures are:
> native gcc.sum gcc.dg/Wshadow-1.c

Argh.  I thought I checked for this...

Fixed thus.

zw

        * gcc.dg/Wshadow-1.c: Add a dg-warning line.

===================================================================
Index: testsuite/gcc.dg/Wshadow-1.c
--- testsuite/gcc.dg/Wshadow-1.c	5 Dec 2001 23:20:00 -0000	1.1
+++ testsuite/gcc.dg/Wshadow-1.c	22 Mar 2003 16:19:10 -0000
@@ -10,7 +10,7 @@ void foo (double decl1)		/* { dg-warning
 {				
 }
 
-void foo1 (int d)
+void foo1 (int d)		/* { dg-warning "shadowed declaration" } */
 {
   double d;	 /* { dg-bogus "warning" "warning in place of error" } */
   /* { dg-error "shadows a parameter" "" { target *-*-* } 15 } */


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