This is the mail archive of the
mailing list for the GCC project.
Re: Symtab cleanup 10/17 remove unnecesary DECL_ARGUMENTS and DECL_RESULT
- From: Mike Stump <mikestump at comcast dot net>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Aug 2013 22:44:23 -0700
- Subject: Re: Symtab cleanup 10/17 remove unnecesary DECL_ARGUMENTS and DECL_RESULT
- Authentication-results: sourceware.org; auth=none
- References: <20130801150906 dot GB2236 at kam dot mff dot cuni dot cz> <441E5C9A-174E-4810-9F9C-F264E56170DF at comcast dot net> <20130822064756 dot GE16124 at kam dot mff dot cuni dot cz>
On Aug 21, 2013, at 11:47 PM, Jan Hubicka <firstname.lastname@example.org> 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?