[PATCH] Fix PR c++/70332 (ICE due to aggregate initialization of NSDMI)

Patrick Palka patrick@parcs.ath.cx
Tue Mar 22 22:45:00 GMT 2016


On Tue, Mar 22, 2016 at 6:00 PM, Jason Merrill <jason@redhat.com> wrote:
> On 03/22/2016 05:35 PM, Patrick Palka wrote:
>>
>> +             if (cp_unevaluated_operand == 0
>
>
> Why check this here?

Just so that the change doesn't affect the behavior of tsubst_decl()
when cp_unevaluated_operand != 0.  Presumably the existing code (10
lines below) handles that case just fine.



More information about the Gcc-patches mailing list