From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3E9638582B0; Sun, 5 Feb 2023 21:53:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3E9638582B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675634033; bh=ejGOUN+XRzg4qIDXU19CO0Y2A3uLz+RZPK829j05MDc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RgncFmeqCXDunZ91yzMBpq3lynEUP/7iR4lr7cBxfjYto1SDVEXVvU8a8w+OZyDG3 ucPFLFiV/QBR31fcVitxDgdmRpii+zqoU/GA6MNJZGtmE8v32TfRbq6RqbpKjyT/Es 11Mj9pakqWYq5tP+i0DPjIITxnFL8Ufgp5F9EOAg= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/108592] In IF statements -Winteger-division is repeated 4 times Date: Sun, 05 Feb 2023 21:53:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: anlauf at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108592 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d042f118798ae0648b45f97e63b0e5ab7c82c8ef commit r13-5705-gd042f118798ae0648b45f97e63b0e5ab7c82c8ef Author: Harald Anlauf Date: Mon Jan 30 22:46:43 2023 +0100 Fortran: prevent redundant integer division truncation warnings [PR1085= 92] 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.=