What's the "standard" optimization level used for clang? I believe that "O2" is a good choice for gcc - does that hold for clang also, or is there a generally better alternative?
2 Answers
-O2 and -Os are both good choices for general use with clang.
1 Comment
Stefan
According to stackoverflow.com/questions/15548023/clang-optimization-levels, -O2 and -Os are identical.