------- Comment #2 from burnus at gcc dot gnu dot org 2009-01-05 14:18 ------- If one compares the dumps, one finds an additional + extern character(kind=1) testchar[1:80]; in the failing version. Thus while the working version accesses &testcommon1.testchar[1]{lb: 1 sz: 1} the failing uses &testchar[1]{lb: 1 sz: 1}
The .mod looks OK though - as far I can see (rearrangements; only one "testcommon1" etc. instead of two). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38657