[Bug fortran/80361] [5/6/7 Regression] bogus recursive call to nonrecursive procedure with -fcheck=recursion
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 11 19:15:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu.org
--- Comment #12 from janus at gcc dot gnu.org ---
Created attachment 41179
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41179&action=edit
reduced test case
I managed to boil down the test case to a more compact form, see the attached
file.
Note that it does not contain any FINAL procedure any more. The error message
...
Fortran runtime error: Recursive call to nonrecursive procedure
'__final_particle_specifiers_Prt_spec_list_t'
... refers to the a finalization procedure generated by gfortran, which is also
used for polymorphic deallocation.
More information about the Gcc-bugs
mailing list