------- 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