------- Comment #5 from dominiq at lps dot ens dot fr 2008-09-20 10:09 ------- I just noticed that the patch in http://gcc.gnu.org/ml/fortran/2008-09/msg00342.html has an additional test in gcc/fortran/resolve.c:
+ && sym->ns == gfc_current_ns This may fix the failure I have reported. If the patch is not commited before this evening, I'll do some further testing with the change tonight. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37583