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/83743] -mcpu=native causes gcc to exit in error if cpu is not recognized


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

--- Comment #6 from Peter Bergner <bergner at gcc dot gnu.org> ---
Author: bergner
Date: Thu Feb  1 18:26:51 2018
New Revision: 257305

URL: https://gcc.gnu.org/viewcvs?rev=257305&root=gcc&view=rev
Log:
        PR target/56010
        PR target/83743
        * config/rs6000/driver-rs6000.c: #include "diagnostic.h".
        #include "opts.h".
        (rs6000_supported_cpu_names): New static variable.
        (linux_cpu_translation_table): Likewise.
        (elf_platform) <cpu>: Define new static variable and use it.
        Translate kernel AT_PLATFORM name to canonical name if needed.
        Error if platform name is unknown.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/driver-rs6000.c

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