[Bug c++/19199] [3.3/3.4/4.0/4.1 Regression] Wrong warning about returning a reference to a temporary
roger at eyesopen dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 9 01:29:00 GMT 2005
------- Additional Comments From roger at eyesopen dot com 2005-03-09 01:28 -------
Subject: Re: [3.3/3.4/4.0/4.1 Regression] Wrong warning about
returning a reference to a temporary
On 8 Mar 2005, Alexandre Oliva wrote:
>
> * fold-const.c (non_lvalue): Split tests into...
> (maybe_lvalue_p): New function.
> (fold_ternary): Use it to avoid turning a COND_EXPR lvalue into
> a MIN_EXPR rvalue.
This version is Ok for mainline, and currently open release branches.
Thanks,
Roger
--
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19199
More information about the Gcc-bugs
mailing list