http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55729
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-12-18 16:12:59 UTC --- Works for me with GCC 4.1 to 4.8: It compiles without any warning/error on x86-64-linux. What exactly is your GCC 4.7 version and which platform are you using? ("gfortran -v" shows this data. For instance, I used "4.7.2 20120920 [gcc-4_7-branch revision 191568]" on "x86_64-gnu-linux".) GCC 4.7.0 can is either the 4.7.0 version, released on 2012-03-22, or to any developer version between 2011-03-14 and that date. You could additionally re-check whether a newer GCC 4.7 or current GCC 4.8 fixes the issue.