From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19885 invoked by alias); 4 Jan 2009 17:59:25 -0000 Received: (qmail 19831 invoked by uid 48); 4 Jan 2009 17:59:15 -0000 Date: Sun, 04 Jan 2009 17:59:00 -0000 Message-ID: <20090104175915.19830.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/38665] [4.4 Regression] ICE in check_host_association 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg00382.txt.bz2 ------- Comment #7 from pault at gcc dot gnu dot org 2009-01-04 17:59 ------- (In reply to comment #6) > > In the mean time, I know how to apply a fix along the lines of 1. > Ok, then; go for (1). I have nothing to propose. I have just realised that the matching can be eliminated, although I would be reluctant to do it in 4.4. In the case of function replacing function, the actual arglist can be copied over. Where a host associated variable is masquerading as a contained function, the reference list has to be converted via a helper function into the actual argument list. This latter will need a bit of thought. In either case, resolve_function should be called. I'll add a TODO. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38665