Optimisation; -On vs -f<something>

Jeffrey A Law law@cygnus.com
Sun Oct 26 09:52:00 GMT 1997


  In message < 199710250934.KAA28975@esperi.demon.co.uk >you write:
  > There seem to be a depressing number of optimisations (in gcc
  > 2.7.2 at least) that are controlled by the optimisation level
  > directly rather than being controlled by one of the flags
Can you give specific examples?

In general, I think adding lots of additional switches is the
wrong direction.

I think we should have -fspace or -Ospace, or whatever we want
to call it which retunes various algorithms in gcc to optimize
for space over speed.

jeff




More information about the Gcc mailing list