This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38665] [4.4 Regression] ICE in check_host_association
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2009 17:59:15 -0000
- Subject: [Bug fortran/38665] [4.4 Regression] ICE in check_host_association
- References: <bug-38665-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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