Need some opinions

Richard Henderson rth@cygnus.com
Sat Mar 6 13:03:00 GMT 1999


On Tue, Mar 02, 1999 at 02:58:51PM -0700, Jeffrey A Law wrote:
> One option would be to always run the "dumb" mode optimizer in jump.c, even
> when not optimizing.

I would prefer to do this.  I think we should be doing just a tad
more work in "no optimization" mode, primarily in terms of getting
rid of unreachable code.

Drepper has a one-line <tgmath.h> test case that expands to an
unconditional branch around 46K of code.  With optimization, the
function is 3 instructions long.

Seems to me there's no excuse for such nonsense.


r~


More information about the Gcc mailing list