[cfe-dev] Option -mtune

David Greene via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 29 14:34:03 PDT 2020

David Blaikie via cfe-dev <cfe-dev at lists.llvm.org> writes:

>> And what do we mean by "compatible" in this context.  Do we mean the
>> options are accepted (they absolutely should be) or do we mean we match
>> gcc behavior exactly.
> The original proposal of this thread was to remove -mtune, which would
> break compatibility even in a non-cross-compiling scenario, where
> compatibility exists today.

Yes, I completely agree we should keep -mtune and actually do something
with it.  :)

I'll write something up about gcc's current behavior and a proposal of
how clang might do better.


More information about the cfe-dev mailing list