From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8880 invoked by alias); 13 Jul 2010 17:31:16 -0000 Received: (qmail 8621 invoked by uid 48); 13 Jul 2010 17:30:59 -0000 Date: Tue, 13 Jul 2010 17:31:00 -0000 Message-ID: <20100713173059.8620.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/44929] [OOP] Parsing error of derived type name starting with 'REAL' In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bdsatish at gmail dot com" 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-07/txt/msg01425.txt.bz2 ------- Comment #1 from bdsatish at gmail dot com 2010-07-13 17:30 ------- Reported by Satish at http://gcc.gnu.org/ml/fortran/2010-07/msg00152.html Simplified testcase by Janus Weil: type :: real_type end type class(real_type), allocatable :: obj allocate(real_type :: obj) end This is a simple parsing bug, triggered by the fact that type name starts with "real", which is being confused with the intrinsic type REAL. -- bdsatish at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bdsatish at gmail dot com, | |janus at gcc dot gnu dot org Summary|[OOP] Intrinsic type |[OOP] Parsing error of | |derived type name starting | |with 'REAL' http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44929