public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: nathan@gcc.gnu.org To: cs@plesk.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nathan@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: c++/5605: [2003-05-06] name of caught object redeclared in clause [3.3.2]/3 Date: Sat, 10 May 2003 14:36:00 -0000 [thread overview] Message-ID: <20030510143602.24849.qmail@sources.redhat.com> (raw) Old Synopsis: [2003-05-06] Wrong constructor is called when anonymous object is created in catch block. New Synopsis: [2003-05-06] name of caught object redeclared in clause [3.3.2]/3 Responsible-Changed-From-To: nathan->unassigned Responsible-Changed-By: nathan Responsible-Changed-When: Sat May 10 14:36:02 2003 Responsible-Changed-Why: icc is correct. 1) 'A (e)' is a declaration of variable 'e' -- the grammar is ambiguous and the std rule in favour of a declaration rather than an expression 2) the scope of this new 'e' is the same as that of the caught object named 'e'. So an error should be issues. [3.3.2]/3 says so http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5605
reply other threads:[~2003-05-10 14:36 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030510143602.24849.qmail@sources.redhat.com \ --to=nathan@gcc.gnu.org \ --cc=cs@plesk.com \ --cc=gcc-bugs@gcc.gnu.org \ --cc=gcc-gnats@gcc.gnu.org \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).