https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119979
--- Comment #26 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <[email protected]>: https://gcc.gnu.org/g:f5c98d0c8c48a80d5cf82011d981e161e19cf7e6 commit r16-8037-gf5c98d0c8c48a80d5cf82011d981e161e19cf7e6 Author: H.J. Lu <[email protected]> Date: Wed Mar 11 08:43:01 2026 -0700 sh: Remove TARGET_PROMOTE_PROTOTYPES TARGET_PROMOTE_PROTOTYPES is an optimization, not an ABI requirement. TARGET_PROMOTE_FUNCTION_MODE should be used for ABI requirement, which is properly defined for sh. Remove TARGET_PROMOTE_PROTOTYPES from sh. gcc/ PR target/122925 PR target/119979 * config/sh/sh.cc (TARGET_PROMOTE_PROTOTYPES): Removed. gcc/testsuite/ PR target/122925 PR target/119979 * gcc.dg/pr122925.c: New test. Signed-off-by: H.J. Lu <[email protected]>
