http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463
--- Comment #5 from manz at intes dot de 2011-09-20 17:11:56 UTC --- (In reply to comment #2) > I confirm the problem on 4.6.1 and trunk, but the code seems to work as > expected with 4.5.3 and 4.4.6. > It also works if I merge the three files in one, or if I use -flto. > > Assuming that the test is coming from a bigger project, could you try -flto on > it? I have never tried -flto on the complete source since its too big (more than 4.5 million lines of Fortran code).