From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18354 invoked by alias); 28 Mar 2009 03:40:49 -0000 Received: (qmail 17792 invoked by uid 48); 28 Mar 2009 03:40:36 -0000 Date: Sat, 28 Mar 2009 03:40:00 -0000 Message-ID: <20090328034036.17791.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/39555] concat-op not allowed in STOP 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: 2009-03/txt/msg01894.txt.bz2 ------- Comment #2 from kargl at gcc dot gnu dot org 2009-03-28 03:40 ------- (In reply to comment #1) > I think it is allowed in Fortran 2008 (could also be F2003 - I don't recall). > Since that Fortran version also "STOP " is allowed. > It is not allowed in F2003. 8.4 STOP statement R849 stop-stmt is STOP [ stop-code ] R850 stop-code is scalar-char-constant or digit [ digit [ digit [ digit [ digit ] ] ] ] The pdf I have marked as F2008 also contains the above text. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39555