This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Apr 2009 17:14:39 -0000
- Subject: [Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects
- References: <bug-39763-8961@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jason at gcc dot gnu dot org 2009-04-14 17:14 -------
Subject: Bug 39763
Author: jason
Date: Tue Apr 14 17:14:04 2009
New Revision: 146054
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146054
Log:
PR c++/39763
* name-lookup.c (pushdecl_maybe_friend): Avoid all warnings
about shadowing by tentative parms.
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/name-lookup.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/warn/Wshadow-4.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39763