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

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 28 00:44:57 GMT 2022


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

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

https://gcc.gnu.org/g:1ae1325f24cea1698b56e4299d95446a1f7b90a2

commit r13-2239-g1ae1325f24cea1698b56e4299d95446a1f7b90a2
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.


More information about the Gcc-bugs mailing list