This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471

Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #3 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
This is a symptom of a more general problem, which is that the general GCC
options machinery does not know which options have a single value (-march=) and
which options can have multiple values (-I). If it did, then the command-line
could be filtered before processing to keep only the last setting. Some of it
is done in prune_options but either it happens too late (after the driver has
already messed up the command-line) or it only applies to negated options.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]