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

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 1 00:21:00 GMT 2005


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-01 00:21 -------
When references are involved, like this, reduction to MAX_EXPR is wrong to 
begin with.  The cast is only an additional symptom.

-- 


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



More information about the Gcc-bugs mailing list