This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31952] parameters may be redeclared in a function try-block
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Aug 2012 10:29:11 +0000
- Subject: [Bug c++/31952] parameters may be redeclared in a function try-block
- Auto-submitted: auto-generated
- References: <bug-31952-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|gcc-bugs at gcc dot gnu.org |janis at gcc dot gnu.org
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-08-20 10:29:11 UTC ---
Comment #2 is PR5605.
Comparing to Janis' fix for PR2288
(http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00838.html) looks like the
pushdecl_maybe_friend_1 checks must be beefed up, maybe we need an additional
sk_* for Comment #2. Seems doable.
Adding Janis in CC in case she wants to beat me (or somebody else) on this.