https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64927
--- Comment #9 from Harald Anlauf <anlauf at gmx dot de> --- (In reply to Steve Kargl from comment #7) > On Wed, Feb 11, 2015 at 07:31:50PM +0000, anlauf at gmx dot de wrote: > > > > IMO it is not fixed on 4.8. If there is no easy solution, I'd rather > > prefer to mark it in an appropriate way (wontfix?), so that others > > can see that this problem is known for particular gcc versions. > > > > You're more than welcomed to backport whatever patch(es) fixes > the issue to 4.8 branch. After Dominique pointed out a range of revisions where the bug disappeared in the 4.9 branch, I browsed through the list of svn log messages. However, all fortran-related commits that looked interesting to me (some of them TRANSFER related) appeared to have backports to the 4.8 branch. Maybe I was not careful enough. If I'd knew which one fixed it for 4.9, I could at least try. And, since you mentioned that, I'm not thrown off by C++. (Although I personally don't use it if I can avoid it).