Re: [patch] Fix segfault during inlining of thunk

2019-01-23 Thread Richard Biener
On Wed, Jan 23, 2019 at 10:48 AM Eric Botcazou wrote: > > Hi, > > this is a regression present in Ada on the mainline since we switched to using > the internal support for thunks: expand_thunk segfaults during inlining when > trying to access the DECL_RESULT of the special alias built to make the

[patch] Fix segfault during inlining of thunk

2019-01-23 Thread Eric Botcazou
Hi, this is a regression present in Ada on the mainline since we switched to using the internal support for thunks: expand_thunk segfaults during inlining when trying to access the DECL_RESULT of the special alias built to make the call from the thunk local, if the DECL_RESULT of the thunk is