------- Comment #3 from burnus at gcc dot gnu dot org 2010-06-12 07:12 ------- (In reply to comment #2) > It is possible to get the front-end to construct a real argument types list > from the arguments list of the external call, as is done in the patch > attached.
I think doing so is the proper way - the question is whether one should already do it earlier such that in resolve.c one can give a diagnostic for external foo call foo(3.0) call foo(4) ! <<< error, inconsistent interface end Cf. PR 40976.) In any case, (re)constructing the interface from the call is sensible. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44471