[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

bergner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 5 19:18:00 GMT 2018


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

--- Comment #13 from Peter Bergner <bergner at gcc dot gnu.org> ---
Author: bergner
Date: Mon Feb  5 19:17:37 2018
New Revision: 257392

URL: https://gcc.gnu.org/viewcvs?rev=257392&root=gcc&view=rev
Log:
        Back port from mainline
        2018-02-01  Peter Bergner  <bergner@vnet.ibm.com>

        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:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/rs6000/driver-rs6000.c


More information about the Gcc-bugs mailing list