This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c++/26395] Wrong attempts to create a copy of an anonymous object


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]