[PATCH] Add more f optimizations to ignore for compatibility

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Aug 5 07:41:27 PDT 2014


On 4 August 2014 17:25, Reid Kleckner <rnk at google.com> wrote:
> Some of these flags are a bit functional, like -flto, -fwhole-program, and -fuse-linker-plugin.

-flto is used, what the patch adds is -flto= which is not.

> Rafael, do you have any thoughts about this list, since you added the "error on unknown options" logic?

I added it mostly because clang was warning on typos, which was really
annoying. I agree that  a specific warning is the best default for gcc
options that we know exist but we don't use.

This change LGTM, but should probably get an OK from another clang dev too.

Cheers,
Rafael



More information about the cfe-commits mailing list