This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: patch candidate for PR target/16665 (Was: Re: Quo vadis, thunk?)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Joern Rennecke <joern dot rennecke at superh dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Tue, 03 Aug 2004 10:05:49 -0700
- Subject: Re: patch candidate for PR target/16665 (Was: Re: Quo vadis, thunk?)
- Organization: CodeSourcery, LLC
- References: <200408031605.i73G5HI09202@chloe.uk.w2k.superh.com>
Joern Rennecke wrote:
Here is the SH specific patch to go with the cp/method.c patch.
So far I have only checked that the assembly looks right.
(for sh5-compact and sh5 at -O0 and -O2, with and without -fpic).
*Technically* the number of thunks to a function is unbounded, so you
could still get so many of them that you had an out-of-range branch. In
practice, I wouldn't expect that to happen.
FYI,
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com