Hi Nathan,
> On 01/04/2018 03:55 AM, Rainer Orth wrote:
>> Hi Nathan,
>>
>>> This fixes a tree dumping ICE involving static thunk fns. Copying the
>>> thunked-to fn's context suffices.
>>
>
>> The dump has
>>
>> IPA function summary for void c::*.LLTHUNK0(...)/1
>
> thanks.
>
> does this patch wo
On 01/04/2018 03:55 AM, Rainer Orth wrote:
Hi Nathan,
This fixes a tree dumping ICE involving static thunk fns. Copying the
thunked-to fn's context suffices.
The dump has
IPA function summary for void c::*.LLTHUNK0(...)/1
thanks.
does this patch work for you?
nathan
--
Nathan Sidwel
On Thu, Jan 04, 2018 at 09:55:10AM +0100, Rainer Orth wrote:
> Hi Nathan,
>
> > This fixes a tree dumping ICE involving static thunk fns. Copying the
> > thunked-to fn's context suffices.
>
> the new test FAILs on Solaris/SPARC:
>
> FAIL: g++.dg/ipa/pr83667.C -std=gnu++11 scan-ipa-dump inline
Hi Nathan,
> This fixes a tree dumping ICE involving static thunk fns. Copying the
> thunked-to fn's context suffices.
the new test FAILs on Solaris/SPARC:
FAIL: g++.dg/ipa/pr83667.C -std=gnu++11 scan-ipa-dump inline "summary for
void c::*.LTHUNK0"
FAIL: g++.dg/ipa/pr83667.C -std=gnu++1
This fixes a tree dumping ICE involving static thunk fns. Copying the
thunked-to fn's context suffices.
nathan
--
Nathan Sidwell
2018-01-03 Nathan Sidwell
PR c++/83667
* method.c (make_alias_for): Copy DECL_CONTEXT.
PR c++/83667
* g++.dg/ipa/pr83667.C: New.
Index: cp/method.c