https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117132

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to LIU Hao from comment #2)
> (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.

It depends on the target. Some targets require you to have an extended (either
zero/sign) return in the register.
Witness why I said PR 14441 for targets that require to have an extended
version in the register ...

Reply via email to