This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43310] -pedantic errors involving PARAMETERs and out of range result
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2010 01:18:29 -0000
- Subject: [Bug fortran/43310] -pedantic errors involving PARAMETERs and out of range result
- References: <bug-43310-18897@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from pinskia at gcc dot gnu dot org 2010-03-13 01:18 -------
Maybe we just need to document that -pedantic changes the range of integers to
be what the Fortran standard requires (a symmetric range).
> Not all valid FORTRAN 95 programs will compile properly when using this
> option.
Except it is not a valid Fortran 95 program as the standard requires the ranges
to be symmetric. (note to be picky only the F is uppercase for Fortran 95; the
last one which was all upper case was 77).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43310