Apple's -fast option for gcc

Steven Bosscher s.bosscher@student.tudelft.nl
Wed Sep 17 18:57:00 GMT 2003


Op wo 17-09-2003, om 19:56 schreef Martin Brain:
> As I understand it the number of levels refers to the scope the
> optimisations work in.  -O1 is within basic blocks, -O2 is between basic
> blocks, -O3 is across the entire function.  Ofcourse not all
> optimisations can be categorised like this and so have been fitted to
> the nearest appropriate level.

This is not quite true, and certainly not for GCC 3.5 and beyond with
tree-ssa merged.  All SSA passes are global, and they're (at present)
all enabled at -O1.

Gr.
Steven



More information about the Gcc mailing list