From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E06E3857C4E; Tue, 31 Aug 2021 17:24:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E06E3857C4E From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/102145] TKR mismatches with -pedantic: -fallow-argument-mismatch does not degrade errors to warnings Date: Tue, 31 Aug 2021 17:24:58 +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: 11.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity cc priority 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2021 17:24:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102145 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement CC| |kargl at gcc dot gnu.org Priority|P3 |P5 --- Comment #1 from kargl at gcc dot gnu.org --- Bummer. I do note that the gcc.info description describes -pedantic in terms of only ISO C/C++, but let's assume -pedantic=20 should apply to ISO Fortran as well. From the gcc manual -Wpedantic' '-pedantic' Issue all the warnings demanded by strict ISO C and ISO C++; reject all programs that use forbidden extensions, ... >>From Fortran 2018, 4.2 Conformance A processor conforms to this document if: ... (10) it contains the capability to detect and report the reason for rejecting a submitted program. Perhaps, gfortran is enforcing the "reject all programs that use forbidden extensions," portion. Improvements to the gfortran documentation are encouraged and welcomed from all users of gfortran that find it lacking.=