From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13380 invoked by alias); 22 Aug 2006 20:02:15 -0000 Received: (qmail 13340 invoked by uid 48); 22 Aug 2006 20:02:05 -0000 Date: Tue, 22 Aug 2006 20:02:00 -0000 Message-ID: <20060822200205.13338.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/28788] [gfortran: 4.1, 4.2 regression] ICE on valid code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault 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-08/txt/msg01868.txt.bz2 List-Id: ------- Comment #2 from pault at gcc dot gnu dot org 2006-08-22 20:02 ------- I have figured out what the problem is: The module procedure formal arguments go into their own namespace; derived type references pointing to the contained namespace. In the reformed association of derived types, the symbols to which the formal arguments are pointing are removed when host association occurs. It is something of a miracle that the old system works - it certainly was not intentional! Now for a clean solution! Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28788