------- Comment #1 from kargl at gcc dot gnu dot org 2010-09-15 18:30 ------- Thanks for the bug report. The problem appears to be fixed in gcc version 4.6.0 20100913 (experimental) (GCC) and gcc version 4.5.1 20100728 (prerelease) (GCC).
It is unlikely that this will be fixed in 4.4.x because it does not appear to be a regression. The code has the same failure in 4.2.x and 4.3.x. If it is possible to upgrade to 4.5.x, then I suggest that route. A possible work around is to change the declaration of 'character*(n) c' to 'character*(*) c'. I'll leave the bug report open for a few days to see if one of the other gfortran developers has a quick fix, but I think this problem is going to be caught by insufficient man power to fixed it. -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45681