https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
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
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.