[PATCH] Using an invalid -O falls back on -O3 instead of an error

hfinkel at anl.gov hfinkel at anl.gov
Fri Nov 8 11:08:13 PST 2013


  I like this idea, although I'd prefer a different phrasing of the warning message.

  How about:

  warning: optimization level '-O20' is unsupported; using '-O3' instead.

http://llvm-reviews.chandlerc.com/D2125



More information about the cfe-commits mailing list