https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67277
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:09301f083d86b04753d93e84dc1b8a313285e40a commit r13-8239-g09301f083d86b04753d93e84dc1b8a313285e40a Author: Harald Anlauf <anl...@gmx.de> Date: Sat Jan 13 22:00:21 2024 +0100 Fortran: intrinsic ISHFTC and missing optional argument SIZE [PR67277] gcc/fortran/ChangeLog: PR fortran/67277 * trans-intrinsic.cc (gfc_conv_intrinsic_ishftc): Handle optional dummy argument for SIZE passed to ISHFTC. Set default value to BIT_SIZE(I) when missing. gcc/testsuite/ChangeLog: PR fortran/67277 * gfortran.dg/ishftc_optional_size_1.f90: New test. (cherry picked from commit 20da56165273c8814b3c53e6d71549ba6a37e0cd)