Symtab cleanup 10/17 remove unnecesary DECL_ARGUMENTS and DECL_RESULT

Mike Stump mikestump@comcast.net
Sat Aug 31 06:29:00 GMT 2013


On Aug 21, 2013, at 11:47 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> The problem is that DECL_ARGUMENTS of the thunk (aka _ZThn528_N1D3fooEv) is used during thunk code-generation, and thunk code-generation happens during the output of D::foo.

> I see, I will try to modify i386 backend to not output thunks.  The problem
> indeed is that thunks' arguments are built by the front-end and they are no
> longer streamed.  I am surprised i386 survives this given that it also
> produces some gimple thunks.
> 
> I guess easiest way around is to make them to be streamed same way as we stream
> functions that are used as abstract origin.  I have different plans in this
> direction - I want to lower thunks to gimple form early so they go through the
> usual channel and get i.e. the profile read correctly.

So, any news on this?


More information about the Gcc-patches mailing list