From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15458 invoked by alias); 9 Mar 2010 20:45:54 -0000 Received: (qmail 15403 invoked by uid 48); 9 Mar 2010 20:45:41 -0000 Date: Tue, 09 Mar 2010 20:45:00 -0000 Message-ID: <20100309204540.15402.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/43310] -pedantic errors on valid code involving PARAMETERs initialized to intrinsic function result In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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/msg00861.txt.bz2 ------- Comment #2 from dominiq at lps dot ens dot fr 2010-03-09 20:45 ------- > Don't use -pedantic. It forces a symmetric range on > the integer type, [-huge():huge]. This should probably be documented. Probably after Valid Fortran 95 programs should compile properly with or without this option. However, without this option, certain GNU extensions and traditional Fortran features are supported as well. With this option, many of them are rejected. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43310