c++/10245: [3.3/3.4 regression] ?: operator requires public copy constructor of return type
Janis Johnson
janis187@us.ibm.com
Thu Mar 27 20:58:00 GMT 2003
The following reply was made to PR c++/10245; it has been noted by GNATS.
From: Janis Johnson <janis187@us.ibm.com>
To: jean-paul_marinier@hp.com, gcc-gnats@gcc.gnu.org, tot@trema.com,
gcc-bugs@gcc.gnu.org, harri.pasanen@trema.com, nobody@gcc.gnu.org,
gcc-prs@gcc.gnu.org, jason@redhat.com
Cc:
Subject: Re: c++/10245: [3.3/3.4 regression] ?: operator requires public copy
constructor of return type
Date: Thu, 27 Mar 2003 12:51:22 -0800
The regression appeared with this patch, which was made to
both mainline and 3.3-branch:
2003-01-17 Jason Merrill <jason@redhat.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
More information about the Gcc-prs
mailing list