https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87760
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #2 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
I think this must be some issue with the compiler explorer installation.
My native AArch64 box compiles your testcase without problems (gcc-7.3).
It's completely perverse that size_t would be an int type, as the ABI requires
an unsigned long.
Also note that arm64 (correctly, AArch64) != arm; they're separate compilers.