[C++ PATCH] PR 70501, ICE in verify ctor sanity
Jason Merrill
jason@redhat.com
Tue Apr 12 15:11:00 GMT 2016
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
More information about the Gcc-patches
mailing list