http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51995
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-25 11:05:41 UTC --- Using today's GCC 4.7 and using one one-week-old one, it compiles without any error. It seems as if the bug has been already fixed - or it only affects certain architectures. Can you provide more details about the used GCC version ("gfortran -v")? You should also try a newer version and check whether the issue still occurs.