This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19199] [3.3/3.4/4.0 Regression] Wrong warning about returning a reference to a temporary
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2005 01:11:17 -0000
- Subject: [Bug c++/19199] [3.3/3.4/4.0 Regression] Wrong warning about returning a reference to a temporary
- References: <20041230105911.19199.lars@trolltech.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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