https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64621
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > Well, this really really asks for the function signatures to be updated to > the > call ABI at the GIMPLE level... > > OTOH, (int) strtol (...) possibly truncates the value so it's not a noop > (it's a noop on i?86 only). Actually it is a NOP on targets which define the upper bits of the register being undefined when returning. That includes x86_64 and aarch64. Thanks, Andrew Pinski