[Bug target/116063] [PPC] Transparent union issue with signedness when optimizing
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 24 03:10:45 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116063
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm
(https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Common-Type-Attributes.html):
Second, the argument is passed to the function using the calling conventions of
the first member of the transparent union, not the calling conventions of the
union itself. All members of the union must have the same machine
representation; this is necessary for this argument passing to work properly.
I think this is invalid based on the documention.
More information about the Gcc-bugs
mailing list