* [Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp
2021-05-26 18:26 [Bug target/100777] New: MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp bergner at gcc dot gnu.org
@ 2021-05-26 18:28 ` bergner at gcc dot gnu.org
2021-05-26 21:17 ` bergner at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bergner at gcc dot gnu.org @ 2021-05-26 18:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Last reconfirmed| |2021-05-26
Target| |powerpc64le-linux
Known to fail| |10.0, 11.0, 12.0
--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
Mine.
I have a patch I'm testing that changes the MMA gimple builtin expansion code
to use create_tmp_reg_or_ssa_name() rather than make_ssa_name() that seems to
fix the ICE.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp
2021-05-26 18:26 [Bug target/100777] New: MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp bergner at gcc dot gnu.org
2021-05-26 18:28 ` [Bug target/100777] " bergner at gcc dot gnu.org
@ 2021-05-26 21:17 ` bergner at gcc dot gnu.org
2021-06-14 21:57 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bergner at gcc dot gnu.org @ 2021-05-26 21:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://gcc.gnu.org/piperma
| |il/gcc-patches/2021-May/571
| |339.html
Target Milestone|--- |12.0
Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp
2021-05-26 18:26 [Bug target/100777] New: MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp bergner at gcc dot gnu.org
2021-05-26 18:28 ` [Bug target/100777] " bergner at gcc dot gnu.org
2021-05-26 21:17 ` bergner at gcc dot gnu.org
@ 2021-06-14 21:57 ` cvs-commit at gcc dot gnu.org
2021-06-14 22:06 ` bergner at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-14 21:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Peter Bergner <bergner@gcc.gnu.org>:
https://gcc.gnu.org/g:20073534c0ccca0a4e079c053ee0874af10b2ea0
commit r12-1439-g20073534c0ccca0a4e079c053ee0874af10b2ea0
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp
2021-05-26 18:26 [Bug target/100777] New: MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp bergner at gcc dot gnu.org
` (2 preceding siblings ...)
2021-06-14 21:57 ` cvs-commit at gcc dot gnu.org
@ 2021-06-14 22:06 ` bergner at gcc dot gnu.org
2021-06-17 22:04 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bergner at gcc dot gnu.org @ 2021-06-14 22:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777
--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> ---
Fixed on trunk. I'll backport the fix to gcc11 and gcc10 after baking on trunk
for a day or two.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp
2021-05-26 18:26 [Bug target/100777] New: MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp bergner at gcc dot gnu.org
` (3 preceding siblings ...)
2021-06-14 22:06 ` bergner at gcc dot gnu.org
@ 2021-06-17 22:04 ` cvs-commit at gcc dot gnu.org
2021-06-18 3:17 ` cvs-commit at gcc dot gnu.org
2021-06-18 20:24 ` bergner at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-17 22:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Peter Bergner
<bergner@gcc.gnu.org>:
https://gcc.gnu.org/g:04a6793eec7f3482f3fb1273a725b3001865a685
commit r11-8610-g04a6793eec7f3482f3fb1273a725b3001865a685
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)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp
2021-05-26 18:26 [Bug target/100777] New: MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp bergner at gcc dot gnu.org
` (4 preceding siblings ...)
2021-06-17 22:04 ` cvs-commit at gcc dot gnu.org
@ 2021-06-18 3:17 ` cvs-commit at gcc dot gnu.org
2021-06-18 20:24 ` bergner at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-18 3:17 UTC (permalink / raw)
To: gcc-bugs
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)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp
2021-05-26 18:26 [Bug target/100777] New: MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp bergner at gcc dot gnu.org
` (5 preceding siblings ...)
2021-06-18 3:17 ` cvs-commit at gcc dot gnu.org
@ 2021-06-18 20:24 ` bergner at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: bergner at gcc dot gnu.org @ 2021-06-18 20:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Peter Bergner <bergner at gcc dot gnu.org> ---
Fixed everywhere.
^ permalink raw reply [flat|nested] 8+ messages in thread