Re: [PATCH] Fix tree-inline.c INDIRECT_REF handling (PR c++/84767)

2018-03-09 Thread Jeff Law
On 03/09/2018 11:06 AM, Jakub Jelinek wrote: > Hi! > > On the following testcase we ICE because when cloning the ctor using > tree-inline.c infrastructure we don't remap the type of INDIRECT_REF, > which needs to be remapped if it a variable length type, otherwise we > refer to the parameters of t

[PATCH] Fix tree-inline.c INDIRECT_REF handling (PR c++/84767)

2018-03-09 Thread Jakub Jelinek
Hi! On the following testcase we ICE because when cloning the ctor using tree-inline.c infrastructure we don't remap the type of INDIRECT_REF, which needs to be remapped if it a variable length type, otherwise we refer to the parameters of the original ctor rather than of the base or complete ctor