r189218 - Simplify now that -O4 just maps to -O3 and -O is an alias of -O2.
Jordan Rose
jordan_rose at apple.com
Mon Aug 26 18:21:21 PDT 2013
On Aug 26, 2013, at 12:22 , Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
> On 26 August 2013 12:11, Jordan Rose <jordan_rose at apple.com> wrote:
>> Any way to warn on the use of "-O4" this way? I still think that's a good idea for at least one release.
>
> Something like the attached patch?
Basically yeah...except I think the vectorizer part was already working since it's parsing the numeric value of the flag.
(Originally I thought about specifically warning about -flto, but I suppose that would confuse newcomers.)
Jordan
More information about the cfe-commits
mailing list