https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108592
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:d042f118798ae0648b45f97e63b0e5ab7c82c8ef commit r13-5705-gd042f118798ae0648b45f97e63b0e5ab7c82c8ef Author: Harald Anlauf <anl...@gmx.de> Date: Mon Jan 30 22:46:43 2023 +0100 Fortran: prevent redundant integer division truncation warnings [PR108592] gcc/fortran/ChangeLog: PR fortran/108592 * arith.cc (gfc_arith_divide): Emit integer division truncation warnings using gfc_warning instead of gfc_warning_now to prevent redundant messages. gcc/testsuite/ChangeLog: PR fortran/108592 * gfortran.dg/pr108592.f90: New test.