From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12360 invoked by alias); 11 Jul 2004 13:49:35 -0000 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 Received: (qmail 12351 invoked by uid 48); 11 Jul 2004 13:49:34 -0000 Date: Sun, 11 Jul 2004 13:49:00 -0000 Message-ID: <20040711134934.12350.qmail@sourceware.org> From: "tobi at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040707093303.16404.jv244@cam.ac.uk> References: <20040707093303.16404.jv244@cam.ac.uk> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/16404] should reject invalid code with -pedantic -std=f95 ? (x8) X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg01138.txt.bz2 List-Id: ------- Additional Comments From tobi at gcc dot gnu dot org 2004-07-11 13:49 ------- I can't find anything in the standard which renders test 6 illegal. I think the code is equivalent to: ! test 6 MODULE TEST TYPE, PRIVATE :: info_type private INTEGER :: value END TYPE info_type TYPE, PUBLIC :: all_type private TYPE(info_type) :: info END TYPE END MODULE which is legal AFAICT, and accepted by gfortran. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16404