[Bug target/106017] [PowerPC] No array-to-pointer conversion for MMA accumulator

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 29 22:38:31 GMT 2022


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

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Peter Bergner
<bergner@gcc.gnu.org>:

https://gcc.gnu.org/g:22ff125247ff5328ad4544aef939d491618d714d

commit r12-8726-g22ff125247ff5328ad4544aef939d491618d714d
Author: Peter Bergner <bergner@linux.ibm.com>
Date:   Sat Aug 27 19:44:16 2022 -0500

    rs6000: Allow conversions of MMA pointer types [PR106017]

    GCC incorrectly disables conversions between MMA pointer types, which
    are allowed with clang.  The original intent was to disable conversions
    between MMA types and other other types, but pointer conversions should
    have been allowed.  The fix is to just remove the MMA pointer conversion
    handling code altogether.

    gcc/
            PR target/106017
            * config/rs6000/rs6000.cc (rs6000_invalid_conversion): Remove
handling
            of MMA pointer conversions.

    gcc/testsuite/
            PR target/106017
            * gcc.target/powerpc/pr106017.c: New test.

    (cherry picked from commit 1ae1325f24cea1698b56e4299d95446a1f7b90a2)


More information about the Gcc-bugs mailing list