[Bug target/96808] MMA built-in dies with incorrect sharing of tree nodes error

2020-09-03 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96808

Peter Bergner  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Peter Bergner  ---
Pushed to GCC 10, so fixed everywhere.

[Bug target/96808] MMA built-in dies with incorrect sharing of tree nodes error

2020-09-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96808

--- Comment #3 from CVS Commits  ---
The releases/gcc-10 branch has been updated by Peter Bergner
:

https://gcc.gnu.org/g:abd9341c2f1ae5f7aa73950cdaac58ef3a2f0190

commit r10-8706-gabd9341c2f1ae5f7aa73950cdaac58ef3a2f0190
Author: Peter Bergner 
Date:   Tue Sep 1 13:47:44 2020 -0500

rs6000: MMA built-in dies with incorrect sharing of tree nodes error

When we expand our MMA built-ins into gimple, we erroneously reused the
accumulator memory reference for both the source input value as well as
the destination output value.  This led to a tree sharing error.
The solution is to create separate memory references for the input
and output values.

2020-09-01  Peter Bergner  

gcc/
PR target/96808
* config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Do
not
reuse accumulator memory reference for source and destination
accesses.

gcc/testsuite/
PR target/96808
* gcc.target/powerpc/pr96808.c: New test.

(cherry picked from commit 8bc0f24d7a20d89383859907b875a26ce59dc6c8)

[Bug target/96808] MMA built-in dies with incorrect sharing of tree nodes error

2020-09-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96808

Peter Bergner  changed:

   What|Removed |Added

   Target Milestone|11.0|10.3

[Bug target/96808] MMA built-in dies with incorrect sharing of tree nodes error

2020-09-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96808

--- Comment #2 from Peter Bergner  ---
Fixed on trunk.  I'll backport the fix to GCC 10 after a little burn in on
trunk.

[Bug target/96808] MMA built-in dies with incorrect sharing of tree nodes error

2020-09-01 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96808

--- Comment #1 from CVS Commits  ---
The master branch has been updated by Peter Bergner :

https://gcc.gnu.org/g:8bc0f24d7a20d89383859907b875a26ce59dc6c8

commit r11-2970-g8bc0f24d7a20d89383859907b875a26ce59dc6c8
Author: Peter Bergner 
Date:   Tue Sep 1 13:47:44 2020 -0500

rs6000: MMA built-in dies with incorrect sharing of tree nodes error

When we expand our MMA built-ins into gimple, we erroneously reused the
accumulator memory reference for both the source input value as well as
the destination output value.  This led to a tree sharing error.
The solution is to create separate memory references for the input
and output values.

2020-09-01  Peter Bergner  

gcc/
PR target/96808
* config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Do
not
reuse accumulator memory reference for source and destination
accesses.

gcc/testsuite/
PR target/96808
* gcc.target/powerpc/pr96808.c: New test.

[Bug target/96808] MMA built-in dies with incorrect sharing of tree nodes error

2020-08-26 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96808

Peter Bergner  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |bergner at gcc dot 
gnu.org
 Target||powerpc*-*-*
   Target Milestone|--- |11.0
 CC||segher at gcc dot gnu.org,
   ||wschmidt at gcc dot gnu.org
 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2020-08-26