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

--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Segher Boessenkool <seg...@gcc.gnu.org>:

https://gcc.gnu.org/g:80fcc4b6afee72443bef551064826b3b4b6785e6

commit r12-7628-g80fcc4b6afee72443bef551064826b3b4b6785e6
Author: Segher Boessenkool <seg...@kernel.crashing.org>
Date:   Fri Mar 11 21:15:18 2022 +0000

    rs6000: Do not use rs6000_cpu for .machine ppc and ppc64 (PR104829)

    Fixes: 77eccbf39ed5

    rs6000.h has
      #define PROCESSOR_POWERPC   PROCESSOR_PPC604
      #define PROCESSOR_POWERPC64 PROCESSOR_RS64A
    which means that if you use things like  -mcpu=powerpc -mvsx  it will no
    longer work after my latest .machine patch.  This causes GCC build errors
    in some cases, not a good idea (even if the errors are actually
    pre-existing: using -mvsx with a machine that does not have VSX cannot
    work properly).

    2022-03-11  Segher Boessenkool  <seg...@kernel.crashing.org>

            PR target/104829
            * config/rs6000/rs6000.cc (rs6000_machine_from_flags): Don't output
            "ppc" and "ppc64" based on rs6000_cpu.
  • [Bug target/104829] [12 Regress... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to