[Bug target/106017] [PowerPC] No array-to-pointer conversion for MMA accumulator

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 17 17:16:13 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106017

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-06-17

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Confirmed.

C allows to convert a pointer to data to any other pointer to data (possibly
modulo alignment restrictions).  What is *not* valid is accessing anything via
a type not compatible with its effective type (or via a character type).

So the restriction in rs6000_invalid_conversion errors for valid C programs.
What was it intended to accomplish?


More information about the Gcc-bugs mailing list