[Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 18 03:17:13 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Peter Bergner
<bergner@gcc.gnu.org>:
https://gcc.gnu.org/g:9e10782370391ed48d2a690a4205594f6b7d2fbe
commit r10-9931-g9e10782370391ed48d2a690a4205594f6b7d2fbe
Author: Peter Bergner <bergner@linux.ibm.com>
Date: Mon Jun 14 16:55:18 2021 -0500
rs6000: MMA builtin usage ICEs when used in a #pragma omp parallel and
using -fopenmp [PR100777]
Using an MMA builtin within an openmp parallel code block, leads to an SSA
verification ICE on the temporaries we create while expanding the MMA
builtins
at gimple time. The solution is to use create_tmp_reg_or_ssa_name(), which
knows when to create either an SSA or register temporary.
2021-06-14 Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/100777
* config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Use
create_tmp_reg_or_ssa_name().
gcc/testsuite/
PR target/100777
* gcc.target/powerpc/pr100777.c: New test.
(cherry picked from commit 20073534c0ccca0a4e079c053ee0874af10b2ea0)
More information about the Gcc-bugs
mailing list