[PATCH] Omit frame pointer and fix %ebp by default on x86 (take 3)

Richard Henderson rth@redhat.com
Mon Aug 16 18:33:00 GMT 2004

On Sun, Aug 15, 2004 at 06:59:51PM -0600, Roger Sayle wrote:
> 	* config/i386/i386.c (override_options): Default 32-bit targets to
> 	"-fomit-frame-pointer -ffixed-ebp" when optimizing if the user
> 	hasn't explicitly specified a frame pointer command line option.

Excuse me for waffling, but I wonder if this buys us anything
at all?  If backtrace(3) always returns __libc_start_main, and
nothing else, have we done the user any favours?


More information about the Gcc-patches mailing list