[Bug c++/12591] gcc accepts invalid code

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 13 01:41:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-13 01:41 -------
Not invalid code because the copy-constructor is not needed for this case, only the constructor 
that takes no arguments because bar is "const foo&".



More information about the Gcc-bugs mailing list