https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112877
--- Comment #3 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:78db4753c9646a372512e6a951fced12f74de0bc commit r16-169-g78db4753c9646a372512e6a951fced12f74de0bc Author: H.J. Lu <[email protected]> Date: Thu Nov 21 08:11:06 2024 +0800 Honor TARGET_PROMOTE_PROTOTYPES during RTL expand Promote integer arguments smaller than int if TARGET_PROMOTE_PROTOTYPES returns true. gcc/ PR middle-end/112877 * calls.cc (initialize_argument_information): Promote small integer arguments if TARGET_PROMOTE_PROTOTYPES returns true. gcc/testsuite/ PR middle-end/112877 * gfortran.dg/pr112877-1.f90: New test. Signed-off-by: H.J. Lu <[email protected]>
