https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78014
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Since size_t is a typedef, long int might be typedef so size_t works there. I don't see a reason for a warning on those targets. Yes a warning for portability would be nice but I don't know if it is easy to do and if people want it turned on by default.