From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31632 invoked by alias); 5 Feb 2007 16:25:55 -0000 Received: (qmail 30900 invoked by uid 48); 5 Feb 2007 16:25:38 -0000 Date: Mon, 05 Feb 2007 16:25:00 -0000 Message-ID: <20070205162538.30899.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/30681] "obsolescent" vs. "obsolete" In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kargl 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: 2007-02/txt/msg00709.txt.bz2 ------- Comment #2 from kargl at gcc dot gnu dot org 2007-02-05 16:25 ------- (In reply to comment #1) > Compiling the code above with > > gfortran -std=f2003 > > gives > > In file xarithmetic_if.f90:5 > > if (i) 10,20,30 > 1 > Error: Obsolete: arithmetic IF statement at (1) > > which is incorrect, because the arithmetic IF is part of standard Fortran 2003 > and 95. > gfortran is correct. See section B.2 of Fortran 2003. I don't have Fortran 95 handy, but I suspect that gfortran is correct for F95 too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30681