https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104923
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Peter Bergner <berg...@gcc.gnu.org>: https://gcc.gnu.org/g:114451a67febf2361b8ffa3f1ba6f33790791c09 commit r11-9669-g114451a67febf2361b8ffa3f1ba6f33790791c09 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. (cherry picked from commit b5baf569f77e1f172061642d4d8593e1ea737add)