This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Symtab cleanup 10/17 remove unnecesary DECL_ARGUMENTS and DECL_RESULT


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]