This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] PR 70501, ICE in verify ctor sanity
- From: Jason Merrill <jason at redhat dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 Apr 2016 11:11:42 -0400
- Subject: Re: [C++ PATCH] PR 70501, ICE in verify ctor sanity
- Authentication-results: sourceware.org; auth=none
- References: <5702A3C5 dot 20103 at acm dot org> <570414B0 dot 7090703 at redhat dot com> <57042C71 dot 5000205 at acm dot org> <570521EC dot 4070104 at redhat dot com> <57067A44 dot 2060003 at acm dot org>
On 04/07/2016 11:18 AM, Nathan Sidwell wrote:
On 04/06/16 07:49, Jason Merrill wrote:
Sure, but that also seems unnecessary; vector rvalues don't have
object identity
the way class and array rvalues do.
I attach 2 patches.
70501-2.patch fixes the ICE by treating VECTOR_TYPEs thesame as PMFs in
cxx_eval_bare_aggregate).
OK.
70501-other.patch stops finish_compound_literal wrapping VECTOR_TYPEs in
a TARGET_EXPR. And also moves the comments around, as I found them a
little confusing. We might want to wait until 7.0 to apply that patch,
as it's not a regression.
Yes, OK once stage 1 reopens.
Jason