"Paulo J. Matos" <[EMAIL PROTECTED]> 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