[Bug c++/19199] [3.3/3.4/4.0 Regression] Wrong warning about returning a reference to a temporary

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 7 01:11:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-07 01:11 -------
Hmm, even though 3.1 did not produce the diagnostic we did produce wrong code.
So the only part which is a regression is the diagnostic but producing correct code would be very nice.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|3.1                         |


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



More information about the Gcc-bugs mailing list