re PR fortran/66575 (Endless compilation on missing end interface)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 4 Jul 2016 21:04:55 +0000 (21:04 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 4 Jul 2016 21:04:55 +0000 (21:04 +0000)
commitd73e0ccf8572dd291477257904d640b6ef4afd36
treef67b9d1ceb44ca7367945c3cc1927f4e1b9c8d2e
parentc20f6223a41539918368677b4a79ad6c1ae674bb
re PR fortran/66575 (Endless compilation on missing end interface)

2016-07-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/66575
* decl.c (match_procedure_interface): Exit loop if procedure
interface refers to itself.

* gfortran.dg: pr65575.f90: New test.

From-SVN: r237994
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr66575.f90 [new file with mode: 0644]