https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117132
--- Comment #2 from LIU Hao <lh_mouse at 126 dot com> --- (In reply to Andrew Pinski from comment #1) > It depends on the ABI, some require the extension while others don't. > PR 14441 is for a target which has the extension. This is not about sign-extension but truncation which I think should always be safe.