[Bug fortran/66575] Endless compilation on missing end interface

2019-08-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575

kargl at gcc dot gnu.org changed:

   What|Removed |Added

 CC||kargl at gcc dot gnu.org

--- Comment #8 from kargl at gcc dot gnu.org ---
All of the testcases in this PR seem to generate an error now with trunk.
Can we add the one test mention by Jerry and close this PR?

[Bug fortran/66575] Endless compilation on missing end interface

2018-08-31 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575

Jerry DeLisle  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #7 from Jerry DeLisle  ---
Second case in comment one loops forever.

[Bug fortran/66575] Endless compilation on missing end interface

2016-07-04 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575

Jerry DeLisle  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Jerry DeLisle  ---
Fixed on trunk, closing.

[Bug fortran/66575] Endless compilation on missing end interface

2016-07-04 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575

--- Comment #5 from Jerry DeLisle  ---
Author: jvdelisle
Date: Mon Jul  4 21:04:55 2016
New Revision: 237994

URL: https://gcc.gnu.org/viewcvs?rev=237994&root=gcc&view=rev
Log:
2016-07-04  Jerry DeLisle  

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

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

Added:
trunk/gcc/testsuite/gfortran.dg/pr66575.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/66575] Endless compilation on missing end interface

2015-09-08 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|WAITING |NEW

--- Comment #4 from Dominique d'Humieres  ---
I confirm the endless compilation for the tests in comment 3 with 4.8 up to
trunk (6.0).


[Bug fortran/66575] Endless compilation on missing end interface

2015-06-30 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575

--- Comment #3 from Gerhard Steinmetz  
---
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

real3m46.187s
user0m0.000s
sys 0m0.002s


[Bug fortran/66575] Endless compilation on missing end interface

2015-06-27 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2015-06-27
 Ever confirmed|0   |1

--- Comment #2 from Dominique d'Humieres  ---
All the tests give an error in a fraction of a second on x86_64-apple-darwin14.


[Bug fortran/66575] Endless compilation on missing end interface

2015-06-17 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575

--- Comment #1 from Gerhard Steinmetz  
---
The above sources can be reduced further. The part below "contains"
(inclusive contains) is not needed to produce the effect :


$ cat zlcti_4.f90
   module m
  interface operator (.f.)
 procedure f
  interface operator (.g.)
 procedure g
  end interface
   end


$ cat zlcti_6.f90
   module m
   interface operator (.f.)
  procedure f
   end
   interface operator (.g.)
  procedure g
   end