This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Which optimization levels affect gimple?


"Paulo J. Matos" <pocm@soton.ac.uk> writes:

> Which optimization levels affect gimple?
> I've tried for a program to check what kind of gimple code you get
> with -fdump-tree-gimple and -O0 and -O3 have different results,
> however, -O3 and -O9 have exactly the same output. Will -Ox for x > 3,
> generate the same gimple trees? (i.e., are done in backend of gcc?)

At present, as far as I know, the highest defined optimization level
is -O3.  -ONUMBER where NUMBER > 3 is equivalent to -O3.  There is no
particular guarantee that will remain true in the future, although
there are also no current plans to change it.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]