[Bug target/119979] [16 Regression] Recent promote_prototypes change breaks multiple ports
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 14 02:04:04 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119979
--- Comment #14 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #13)
> (In reply to Oleg Endo from comment #12)
> > (In reply to H.J. Lu from comment #9)
> > > Do iq2000 mcore sh4eb psABIs require signed/unsigned extensions for 8/16-bit
> > > integers?
> >
> > On SH we have two ABIs. GNU ABI (default) requires the sign extension to
> > 32-bit. The Hitachi/Renesas abi (-mrenesas) doesn't require it and allows
> > for undefined upper bits.
>
> So sign extension to 32-bit works for both ABIs.
Yes, but if the extension can be omitted it's better code.
More information about the Gcc-bugs
mailing list