From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7977 invoked by alias); 13 Nov 2006 10:05:09 -0000 Received: (qmail 7855 invoked by uid 48); 13 Nov 2006 10:05:00 -0000 Date: Mon, 13 Nov 2006 10:05:00 -0000 Message-ID: <20061113100500.7854.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/29806] Error if CONTAINS is present without SUBPROGRAM In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg01119.txt.bz2 List-Id: ------- Comment #2 from burnus at gcc dot gnu dot org 2006-11-13 10:05 ------- > Isn't this going to be allowed in F2008? I checked 06-007r1.pdf and it is indeed allowed. > (Perhaps it already is in F2003 -- I'm too lazy to check.) No, it is not allowed in F2003. (See R numbers below) > We should print an error message if strict standard conformance is requested, > but since it is going to be valid code in the future, I think we can continue > to support it. This was also my idea. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29806