http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55352
--- Comment #6 from janus at gcc dot gnu.org 2012-11-18 19:16:27 UTC --- (In reply to comment #5) > This solves the problem for me, thank you very much You're welcome ... > I'm impressed by your quick and competent work :-) Thanks! In terms of gfortran bugs, this is certainly one of the easier ones to fix. > Somehow, your patch didn't work in my Gentoo version; My patch was against trunk, so it might not apply cleanly to the 4.7 branch. The fix will presumably make it into the 4.8 release, but will probably not be backported to 4.7 (unless you can show that the bug is a regression, i.e. did not occur in a previous release of gfortran - I haven't checked this).