------- Comment #11 from howarth at nitro dot med dot uc dot edu 2007-11-27 02:23 ------- In case this helps prove Mike's hypothesis of the alternate fix to this problem (outside of the patching the darwin linker), I've uploaded the assembly files for testbd.f and testsub.f generated on i386-apple-darwin9 with g95 0.90 compiled against a patched gcc 4.0.3. The blockdata_test all pass with g95 on darwin. I should note that on Macintel we get warnings of the form...
g95 -o main.init main.o libtestinit.a ld: warning for symbol _test_ tentative definition of size 16 from libtestinit.a(testsub.o) is being replaced by a real definition of size 4 from libtestinit.a(testbd.o) and g95 -o main.bad main.o libtest.a ld: warning for symbol _test_ tentative definition of size 16 from libtest.a(testsub.o) is being replaced by a real definition of size 4 from libtest.a(testbd.o) which I believe are due to intel darwin specific changes that were never backported out of gcc 4.2 to gcc 4.0.x branch. However, I think these warnings are non-critical. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34136