tail call optimization vs. debugging

Richard Henderson rth@cygnus.com
Fri Mar 24 14:24:00 GMT 2000


On Fri, Mar 24, 2000 at 09:38:31PM +0100, Bruno Haible wrote:
> Many GNU programs are compiled with "-O2 -g" by default, which has been
> up to now a good compromise between speed and ease of debugging.

That you think this is a clear indication that you do most
of your work on x86.  On alpha and other wide risc targets
the instruction scheduling turned on with -O2 makes debugging
quite a challenge most of the time. 

> 1. that tail call elimination be disabled/enabled by a particular command
>    line option,

This we will do, default on at -O2.

> 2. that this command line option be "-fomit-frame-pointer".

No.


r~


More information about the Gcc mailing list