How many GCC optimization levels are there?

Posted by Phenom on Stack Overflow See other posts from Stack Overflow or by Phenom
Published on 2009-11-22T12:13:05Z Indexed on 2010/04/20 15:43 UTC
Read the original article Hit count: 360

Filed under:
|
|
|

How many GCC optimization levels are there?

I tried gcc -O1, gcc -O2, gcc -O3, and gcc -O4

If I use a really large number, it won't work.

However, I have tried

gcc -O100

and it compiled.

How many optimization levels are there?

© Stack Overflow or respective owner

Related posts about gcc

Related posts about c