This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c++/26395] Wrong attempts to create a copy of an anonymous object
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: 21 Feb 2006 18:20:49 +0100
- Subject: Re: [Bug c++/26395] Wrong attempts to create a copy of an anonymous object
- References: <bug-26395-12232@http.gcc.gnu.org/bugzilla/> <20060221155915.13120.qmail@sourceware.org>
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-21 15:59 -------
| Please read:
| http://gcc.gnu.org/gcc-3.4/changes.html
|
|
| GCC before 3.4 was accepting invalid code.
|
|
| --
|
| pinskia at gcc dot gnu dot org changed:
|
| What |Removed |Added
| ----------------------------------------------------------------------------
| Status|UNCONFIRMED |RESOLVED
| Resolution| |INVALID
In fact, there should be an open PR for this -- which is a request
for enhancement. The code is ill-formed under C++98 and C++03; it is
well formed in C++0x (the changes are in the Working Paper.)
-- Gaby