https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107241
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Hmm: > __attribute__((weak)) > ulong swapEndian (const ulong val) Note this is definitely a front-end issue .