http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48286
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-25 14:45:29 UTC --- Btw, fndecl issue - if you build at least cray_pointers_8.f90 with -fwhole-program I get /tmp/ccBnfOGf.o: In function `main': cray_pointers_8.f90:(.text.startup+0x76): undefined reference to `euler_' collect2: ld returned 1 exit status which means the euler fn has a different decl than the one called from main.