This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] - Fix PR 21956 and PR 22003
- From: Steven Bosscher <stevenb at suse dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Caroline Tice <ctice at apple dot com>
- Date: Wed, 27 Jul 2005 23:00:03 +0200
- Subject: Re: [PATCH] - Fix PR 21956 and PR 22003
- References: <0ec3a4d7b3e65f1120265fccecbd2dc1@apple.com> <200507270241.08540.stevenb@suse.de> <20050727205512.GA12905@redhat.com>
On Wednesday 27 July 2005 22:55, Richard Henderson wrote:
> On Wed, Jul 27, 2005 at 02:41:08AM +0200, Steven Bosscher wrote:
> > PR c++/22003
> > * varasm.c (assemble_start_function): Don't do anything that may
> > require a CFG if the current function is a thunk.
>
> Not entirely ok. Several of the target backend thunks require that
> the thunk and the function reside in the same section. Though I
> suspect that this may already be broken by -ffunction-sections,
Yeah, that is why I asked Caroline whether she knows where the thunks
end up. I'm not sure how to create a test case for this, so I hope
Caroline has some ideas.
> so
> I guess this can probably go in as-is.
I'll commit it, then.
Gr.
Steven