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

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

https://gcc.gnu.org/g:b5baf569f77e1f172061642d4d8593e1ea737add

commit r12-7657-gb5baf569f77e1f172061642d4d8593e1ea737add
Author: Peter Bergner <berg...@linux.ibm.com>
Date:   Tue Mar 15 08:46:47 2022 -0500

    rs6000: Fix invalid address passed to __builtin_mma_disassemble_acc
[PR104923]

    The mma_disassemble_output_operand predicate is too lenient on the types
    of addresses it will accept, leading to combine creating invalid address
    that eventually lead to ICEs in LRA.  The solution is to restrict the
    addresses to indirect, indexed or those valid for quad memory accesses.

    2022-03-15  Peter Bergner  <berg...@linux.ibm.com>

    gcc/
            PR target/104923
            * config/rs6000/predicates.md (mma_disassemble_output_operand):
Restrict
            acceptable MEM addresses.

    gcc/testsuite/
            PR target/104923
            * gcc.target/powerpc/pr104923.c: New test.

Reply via email to