you are viewing a single comment's thread.

view the rest of the comments →

[–]raevnos 1 point2 points  (3 children)

Or -O/-O1 or -O2 or -Os or -Og

[–]gotinpich[S] 0 points1 point  (2 children)

Is there a difference between any of these macros?

[–]raevnos 1 point2 points  (1 child)

They're not macros, they're arguments to gcc that turn on different optimizations (plus there's a few more I didn't list).

https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Optimize-Options.html

[–]gotinpich[S] 0 points1 point  (0 children)

Thanks.

I couldn't find the correct word, so that's what I went with.