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]

[Bug c++/38870] G++ allows modification of data members for a non lvalue object



------- Comment #2 from pinskia at gcc dot gnu dot org  2009-01-16 20:33 -------
Except really it is 5.2.5 that causes this to be invalid code.  Well the C++
standard as written in 1998, it is valid but there is a defect report against
it and it fixed this code to be invalid.

*** This bug has been marked as a duplicate of 15218 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38870


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