This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 PIC improvement for static functions.
- To: law at cygnus dot com
- Subject: Re: i386 PIC improvement for static functions.
- From: Jason Merrill <jason at cygnus dot com>
- Date: 25 Jun 1998 02:31:53 -0700
- Cc: john at feith dot com (John Wehle), egcs-patches at cygnus dot com, wilson at cygnus dot com, rth at cygnus dot com
- References: <27066.898757591@hurl.cygnus.com>
>>>>> Jeffrey A Law <law@cygnus.com> writes:
> My first concern is memory usage; this patch has the potential to
> significantly increase the amount of memory necessary to compile a
> file since all static functions would be deferred.
I would worry about that.
> If we decide that's not a major problem we might consider deferring
> statics regardless of flag_pic. Other architectures do similar
> optimizations regardless of -fpic (alpha & rs6000 come immediately to
> mind, the PA should, but doesn't due to a lack of time).
I believe they handle this with additional entry points for calls from
within the same translation unit.
Jason