------- Comment #2 from paul dot thomas at jet dot uk 2006-04-27 13:24 ------- Holmes was wrong - it was a one piper.
The symbol for the module equivalence was being scrubbed for the lack of a gfc_commit_symbols. Interchanging lines 1061 and 1064 in trans-common.c does the job. Thus: /* Translate local equivalence. */ finish_equivalences (ns); /* Commit the newly created symbols for common blocks and module equivalences. */ gfc_commit_symbols (); This regtests together with the fix for pr27269 on Cygwin_NT. As soon as I figure out why I cannot free the gfc_expr's in this latter fix, I will submit a combined patch and testcase. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27324