------- Comment #9 from janus at gcc dot gnu dot org 2010-08-03 11:36 ------- (In reply to comment #8) > If I run the code in comment 4 with an appended "end" (to make it a complete > program), I (still) get link errors: > > /tmp/cc3J3Ygi.o: In function `__m_MOD_new_bar': > aa3.f90:(.text+0x2c): undefined reference to `vtab$bar.1527' > > That's with trunk 4.6.0 20100803 (Rev. 162828) x86_64-unknown-linux-gnu with > both -m32 and -m64 - thus I do not think that this is target dependent.
Well, what is target dependent are the funny messages in comment #0, which are only seen on darwin with -m32. For the 'undefined reference' errors we have other PRs in fact (e.g. PR44065). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42207