https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96506
--- Comment #3 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:43edad43b2cee17fb7575c40a9dafac3fe79ba1c commit r10-8641-g43edad43b2cee17fb7575c40a9dafac3fe79ba1c Author: Peter Bergner <berg...@linux.ibm.com> Date: Thu Aug 13 13:40:39 2020 -0500 rs6000: ICE when using an MMA type as a function param or return value [PR96506] PR96506 shows a problem where we ICE on illegal usage, namely using MMA types for function arguments and return values. The solution is to flag these illegal usages as errors early, before we ICE. 2020-08-13 Peter Bergner <berg...@linux.ibm.com> gcc/ PR target/96506 * config/rs6000/rs6000-call.c (rs6000_promote_function_mode): Disallow MMA types as return values. (rs6000_function_arg): Disallow MMA types as function arguments. gcc/testsuite/ PR target/96506 * gcc.target/powerpc/pr96506.c: New test. (cherry picked from commit 0ad7e730c142ef6cd0ddc1491a89a7f330caa887)