This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10245: [3.3/3.4 regression] ?: operator requires public copy constructor of return type
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: jean-paul_marinier at hp dot com, gcc-gnats at gcc dot gnu dot org, tot at trema dot com, gcc-bugs at gcc dot gnu dot org, harri dot pasanen at trema dot com, nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jason at redhat dot com
- Date: Thu, 27 Mar 2003 12:51:22 -0800
- Subject: Re: c++/10245: [3.3/3.4 regression] ?: operator requires public copy constructor of return type
- Organization: IBM
- Reply-to: janis187 at us dot ibm dot com
The regression appeared with this patch, which was made to
both mainline and 3.3-branch:
2003-01-17 Jason Merrill <jason at redhat dot com>
PR c++/9342
* call.c (build_conditional_expr): Always do lvalue-rvalue
conversion.
The hunt used the submitter's test case on i686-pc-linux-gnu
with mainline sources.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10245