From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3166 invoked by alias); 10 Mar 2010 16:07:55 -0000 Received: (qmail 507 invoked by uid 48); 10 Mar 2010 16:07:17 -0000 Date: Wed, 10 Mar 2010 16:07:00 -0000 Message-ID: <20100310160717.506.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: "giese025 at umn dot edu" 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/msg00958.txt.bz2 ------- Comment #6 from giese025 at umn dot edu 2010-03-10 16:07 ------- (In reply to comment #5) > (In reply to comment #4) > > > > > "Not all valid FORTRAN 95 programs will compile properly when using this > > option. If you want to ensure compliance with one of the FORTRAN standards, > > please see the -std= option." > > > > The problem is that your program does not conform to > the Fortran 95 standard. > It compiles without error nor warning with gfortran -std=f95 -Wall bar.f90 I'm not trying to sound argumentative here but you can't have it both ways... so are you saying that this is really a problem with -std, as opposed to -pedantic? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43310