http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51218
--- Comment #6 from Harald Anlauf <anlauf at gmx dot de> 2011-11-19 08:12:01 UTC --- (In reply to comment #3) > The miscompilation is triggered by -ffrontend-optimize, work-around: use > -fno-frontend-optimize. > Revision 171653 is dealing with the frontend optimization. If I am not > mistaken, it is the only change dealing with frontend optimization after > r171100, although I don't understand how this revision could cause a > miscompilation. > > The crash occurs in __mo_dec_matrix_MOD_sum_vector. Aha. Compiling just main.f90 with -fno-frontend-optimize solves the problem. Thanks, Harald