This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9440: [3.4 regression] error message about "non-lvalue in unary '&'" when using ?: operator
- From: Craig Rodrigues <rodrigc at attbi dot com>
- To: gcc at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, andrew at andypo dot net, jason at redhat dot com
- Date: Sat, 8 Feb 2003 14:31:51 -0500
- Subject: Re: c++/9440: [3.4 regression] error message about "non-lvalue in unary '&'" when using ?: operator
Hi,
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9440
PR 9440 seems to start occurring after this patch on mainline:
2003-01-17 Jason Merrill <jason@redhat.com>
PR c++/9342
* call.c (build_conditional_expr): Always do lvalue-rvalue
conversion.
--
Craig Rodrigues
http://home.attbi.com/~rodrigc
rodrigc@attbi.com