[Bug fortran/43310] -pedantic errors involving PARAMETERs and out of range result

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 13 01:18:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list