Re: C++ PATCH for c++/79797, ICE with array NSDMI

2017-03-16 Thread Jason Merrill
On Wed, Mar 8, 2017 at 8:00 PM, Jason Merrill wrote: > In this testcase, ctx->object was the array subobject and 'this' > refers to the containing object, so we failed. Fixed by generalizing > PLACEHOLDER_EXPR handling more (in a way that replace_placeholders_r > already handles). A slight tweak

C++ PATCH for c++/79797, ICE with array NSDMI

2017-03-08 Thread Jason Merrill
In this testcase, ctx->object was the array subobject and 'this' refers to the containing object, so we failed. Fixed by generalizing PLACEHOLDER_EXPR handling more (in a way that replace_placeholders_r already handles). Tested x86_64-pc-linux-gnu, applying to trunk. commit a383ab56e2ea367509255f