This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 5 GCC regressions, 1 new, with your patch on2003-03-22T06:36:49Z.
- From: Zack Weinberg <zack at codesourcery dot com>
- To: gcc-regression at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Cc: jlquinn at optonline dot net, neroden at gcc dot gnu dot org
- Date: Sat, 22 Mar 2003 09:06:22 -0800
- Subject: Re: 5 GCC regressions, 1 new, with your patch on2003-03-22T06:36:49Z.
- References: <200303221252.h2MCq1av026642@il0102b-dhcp193.apple.com>
"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 } */