------- Additional Comments From mark at codesourcery dot com  2005-04-05 23:49 
-------
Subject: Re:  [3.3/3.4 Regression] Wrong warning about returning
 a reference to a temporary

roger at eyesopen dot com wrote:

> Might I propose that we close this bug as won't fix for both the 3.3 and 3.4
> branches.  GCC has always generated wrong code for this case, and the current
> state of 3.4.4 is that we issue an incorrect warning (which seems better than
> silently generating wrong code as we did with 3.1). 

Just so that I'm clear, what I think you're saying that the wrong-code 
problem has been there all along, and the only regression was actually 
the warning.  Investigating the warning revealed that we were generating 
wrong-code, and fixing the wrong-code problem fixed the warning, but the 
only actual regression per se was the warning.  If that's accurate, 
then, yes, we should add a note saying that this won't be fixed for 
3.4.x, and close the PR as FIXED.

Thanks,



-- 


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

Reply via email to