On Wed, May 26, 2021 at 04:16:31PM -0500, Peter Bergner via Gcc-patches wrote:
> 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.
> 
> This fixes the ICE and bootstraps and regtests with no regressions.
> Ok for trunk?

LGTM.
> 
> The same ICE occurs in GCC 11 and GCC 10.  Ok to backport to those release
> branches after some burn in on trunk?

Yes.
> 
> Peter
> 
> 
> 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.

        Jakub

Reply via email to