https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575
--- Comment #3 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Playing around, I've found other cases (wrong code with procedure) causing endless compilation on my environment, e.g. $ cat zlctp_1.f90 program p procedure(g) :: g procedure(g) :: g end $ cat zlctp_2.f90 program p procedure(g) :: g procedure(g) !! anything end $ time gfortran -c zlctp_2.f90 # with 5.1.1, 4.9.0, 4.8.3 # ^C after a few minutes real 3m46.187s user 0m0.000s sys 0m0.002s