[Bug target/104829] [12 Regression] Pure 32-bit PowerPC build broken

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 20 20:41:09 GMT 2022


--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Sebastian Huber


commit r11-10084-gd87e0e297b1cba73a0c055d2a3e9267d288f435a
Author: Segher Boessenkool <segher@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
    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  <segher@kernel.crashing.org>

            PR target/104829
            * config/rs6000/rs6000.c (rs6000_machine_from_flags): Don't output
            "ppc" and "ppc64" based on rs6000_cpu.

    (cherry picked from commit 80fcc4b6afee72443bef551064826b3b4b6785e6)

More information about the Gcc-bugs mailing list