This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] PR 70501, ICE in verify ctor sanity


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]