[Bug target/96530] MMA built-ins reject typedefs of MMA types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96530 Peter Bergner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #5 from Peter Bergner --- Fixed everywhere.
[Bug target/96530] MMA built-ins reject typedefs of MMA types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96530 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:a8c8ff7712d2cce5d7f26224160d8422b87babfc commit r10-8597-ga8c8ff7712d2cce5d7f26224160d8422b87babfc Author: Peter Bergner Date: Sat Aug 8 11:54:48 2020 -0500 rs6000: MMA built-ins reject typedefs of MMA types We do not allow conversions between the MMA types and other types. However, we are being too strict in not matching MMA types with typdefs of those types. Use TYPE_CANONICAL to see through the types to their canonical types before comparing them. 2020-08-08 Peter Bergner gcc/ PR target/96530 * config/rs6000/rs6000.c (rs6000_invalid_conversion): Use canonical types for type comparisons. Refactor code to simplify it. gcc/testsuite/ PR target/96530 * gcc.target/powerpc/pr96530.c: New test. (cherry picked from commit e2882e76089cecdc268d0835c54cabfa80b5b0be)
[Bug target/96530] MMA built-ins reject typedefs of MMA types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96530 Peter Bergner changed: What|Removed |Added Target Milestone|--- |10.3 --- Comment #3 from Peter Bergner --- Fixed on trunk. Will let it bake a little before backporting to GCC 10.
[Bug target/96530] MMA built-ins reject typedefs of MMA types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96530 --- Comment #2 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:e2882e76089cecdc268d0835c54cabfa80b5b0be commit r11-2616-ge2882e76089cecdc268d0835c54cabfa80b5b0be Author: Peter Bergner Date: Sat Aug 8 11:54:48 2020 -0500 rs6000: MMA built-ins reject typedefs of MMA types We do not allow conversions between the MMA types and other types. However, we are being too strict in not matching MMA types with typdefs of those types. Use TYPE_CANONICAL to see through the types to their canonical types before comparing them. 2020-08-08 Peter Bergner gcc/ PR target/96530 * config/rs6000/rs6000.c (rs6000_invalid_conversion): Use canonical types for type comparisons. Refactor code to simplify it. gcc/testsuite/ PR target/96530 * gcc.target/powerpc/pr96530.c: New test.
[Bug target/96530] MMA built-ins reject typedefs of MMA types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96530 Peter Bergner changed: What|Removed |Added Target||powerpc*-*-* Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2020-08-07 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org CC||dje at gcc dot gnu.org, ||segher at gcc dot gnu.org, ||wschmidt at gcc dot gnu.org Keywords||rejects-valid --- Comment #1 from Peter Bergner --- Confirmed and mine.