This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/9400
- From: mmitchel at gcc dot gnu dot org
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 6 Mar 2003 21:16:02 -0000
- Subject: c++/9400
- Reply-to: mmitchel at gcc dot gnu dot org
The following reply was made to PR c++/9400; it has been noted by GNATS.
From: mmitchel at gcc dot gnu dot org
To: gcc-gnats at gcc dot gnu dot org
Cc:
Subject: c++/9400
Date: 6 Mar 2003 21:12:14 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: mmitchel at gcc dot gnu dot org 2003-03-06 21:12:14
Modified files:
gcc/cp : decl.c
Added files:
gcc/testsuite/g++.dg/warn: Wshadow-2.C
Log message:
PR c++/9400
* decl.c (pushdecl): Don't check for shadowing of DECL_ARTIFICIAL
PARM_DECLs.
PR c++/9400
* g++.dg/warn/Wshadow-2.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.965.2.24&r2=1.965.2.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wshadow-2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1