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

--- Comment #21 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #20)
> Here is the patch to add default_promote_function_mode_sign_extend:
> 
> https://gcc.gnu.org/pipermail/gcc-patches/2026-February/709274.html
> 
> This is independent of
> 
> commit a670ebde3995481225ec62b29686ec07a21e5c10 (HEAD)
> Author: H.J. Lu <[email protected]>
> Date:   Thu Nov 21 07:54:35 2024 +0800
> 
>     Drop targetm.promote_prototypes from C, C++ and Ada frontends
> 
> Targets should define TARGET_PROMOTE_FUNCTION_MODE with
> default_promote_function_mode_sign_extend if its ABI requires
> sign extension of signed 8/16-bit integer arguments to 32 bits and
> zero extension of unsigned integer 8/16-bit arguments to 32 bits.

The patch is at

https://gcc.gnu.org/pipermail/gcc-patches/2026-February/709275.html

Reply via email to