[cfe-dev] stupid optimization question

Eli Friedman eli.friedman at gmail.com
Fri May 7 03:02:57 PDT 2010


On Thu, May 6, 2010 at 8:34 PM, John Regehr <regehr at cs.utah.edu> wrote:
> I keep running into cases where some program crashes clang with -O1 but
> not -O, or vice versa.
>
> Why are these different?  What's the difference?  If I were a normal
> programmer which would I want to use?

IIRC -O maps to -O2.

-Eli




More information about the cfe-dev mailing list