http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51285
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-24 18:07:14 UTC --- (In reply to comment #2) > In that range there is the following commit > http://gcc.gnu.org/viewcvs/trunk/gcc/fortran/trans-decl.c?r1=172307&r2=172604&pathrev=172604 > It could be a coincidence, but this thing > - /* Do not use procedures that have a procedure argument because this > - can result in problems of multiple decls during inlining. */ > seems to hold. The ICE is removed with > gfortran -O3 -fno-inline-functions bug.f90 I think it can well be that that commit exposes the bug as it removed a double declaration for the same function. The removal should allow inlining. Thus, that's in line with -fno-inline-functions "fixing" the issue on the trunk. However, I doubt that the commit causes the bug.