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

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

https://gcc.gnu.org/g:3927bd9f9150576f2905c8930732c419f1850fca

commit r10-10966-g3927bd9f9150576f2905c8930732c419f1850fca
Author: Peter Bergner <berg...@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.c (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)

Reply via email to