http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58852
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> --- I can confirm that it fails with GCC 4.7.3. I think it is fixed by the patch for PR 55134 (i.e. for GCC 4.8). Can you try a newer version of GCC? Cf. http://gcc.gnu.org/wiki/GFortranBinaries