https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123858
Harald van Dijk <harald at gigawatt dot nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |harald at gigawatt dot nl
--- Comment #3 from Harald van Dijk <harald at gigawatt dot nl> ---
(In reply to Joseph S. Myers from comment #1)
> At least some m68k ABIs return pointers and integers in different registers,
> though I don't know if ABIs for any more modern processors have that
> property.
The x32 ABI for x86_64 returns pointers and integers in the same registers, but
pointers are zero-extended and integers are not, so casts like this would still
break.