http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56945
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |burnus at gcc dot gnu.org Known to work| |4.8.0, 4.9.0 Resolution| |FIXED Known to fail| |4.6.3, 4.7.3 --- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-13 12:45:15 UTC --- (In reply to comment #2) > AFAICT the code compiles with gfortran 4.8.0, but not with 4.7.3. Yes, there were lots of bug fixes for "character(len=:)" around mid-2012; please update to 4.8 (4.8.0 has been recently released) or try the current developer version 4.9. Unofficial builds of GCC can be found at http://gcc.gnu.org/wiki/GFortranBinaries As it is no regression and as it works in both the latest release and in the development version, I close this bug now. See bug 45170 comment 39 for the outstanding issues. (Using "len=:" as component of a derived type will likely be supported in 4.9; maybe in a month?) In any case: Thanks for the report! And sorry that it doesn't work with 4.6/4.7. -> Close as FIXED (in 4.8/4.9).