Nonsensical error

Janus Weil janus@gcc.gnu.org
Thu Jan 2 17:09:00 GMT 2014


>> Since the symbol is apparently a subroutine in your case, the question
>> is why it is being resolved as a function ...
>>
> First clue from test case hunt: commenting an intervening call to  a
> BIND(C) function makes the error disappear..

Ah, that rings some bells. Indeed we do have a couple of
BIND(C)-related regressions, cf. bugzilla.

If you feel lucky, you could try a patch I posted recently for one of
those guys:

http://gcc.gnu.org/ml/fortran/2013-12/msg00139.html

No guarantee this will help with your problem, but you can try ...

Cheers,
Janus



More information about the Fortran mailing list