From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20453 invoked by alias); 13 Mar 2010 01:18:42 -0000 Received: (qmail 20415 invoked by uid 48); 13 Mar 2010 01:18:29 -0000 Date: Sat, 13 Mar 2010 01:18:00 -0000 Message-ID: <20100313011829.20414.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/43310] -pedantic errors involving PARAMETERs and out of range result In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg01189.txt.bz2 ------- 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