http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50721
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-10-13 22:04:33 UTC --- Created attachment 25487 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25487 Test case - needs to be linked against -lgsl -lgslcblas (In reply to comment #1) > What were the compiler options? Try using -fcheck=all -O0. Options: "" or "-g". (Using -fcheck=all caused an ICE, cf. PR 50718.) Reduced version attached - still needs the GSL to be linked: $ gfortran-4.5 test.f90 -lgsl -lgslcblas && ./a.out 0 8.0000000000000000 $ gfortran-4.6 test.f90 -lgsl -lgslcblas && ./a.out 0 8.0000000000000000 Bus error (core dumped)