public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5605: [2003-05-06] name of caught object redeclared in clause [3.3.2]/3
@ 2003-05-10 14:36 nathan
  0 siblings, 0 replies; only message in thread
From: nathan @ 2003-05-10 14:36 UTC (permalink / raw)
  To: cs, gcc-bugs, gcc-prs, nathan, nobody

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-10 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10 14:36 c++/5605: [2003-05-06] name of caught object redeclared in clause [3.3.2]/3 nathan

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).