After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 521453 - Fortran recursive subroutine
Fortran recursive subroutine
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.5-SVN
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks: 523156
 
 
Reported: 2008-03-09 21:11 UTC by Alin M Elena
Modified: 2011-11-01 10:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes it (3.54 KB, patch)
2008-03-09 21:49 UTC, Oleg Batrashev
none Details | Review

Description Alin M Elena 2008-03-09 21:11:59 UTC
recursive subroutine dows not appear in the list of subroutines 
I use svn 1.5.5 v 617.

here is the code that replicates the bug

module test
ifmplicit none

private
public :: DeleteList
  contains
!> \brief recursive function that deallocates all the nodes starting with root
!> \details
!> \author Alin M Elena
!> \date 14th of January 2006
!> \param root type(names), pointer the starting node
  recursive subroutine DeleteList(root)
    character(len=*), parameter :: myname = 'DeleteList'
    type(names), pointer :: root
    type(names), pointer :: current

    current=>root%next
    if (associated(current)) then
      call DeleteList(current)
    else
      deallocate(root)
    endif 
  end subroutine DeleteList
end module test
Comment 1 Oleg Batrashev 2008-03-09 21:49:51 UTC
Created attachment 106932 [details] [review]
fixes it

Thanks for pointing it out. I was focused on that "old style function" case and forgot to add the same functionality to the usual function/subroutines.
Comment 2 Oleg Batrashev 2008-05-25 17:24:09 UTC
Patch applied in r633 (1.5.6-SVN) together with fixed format code.
Comment 3 Dimitri van Heesch 2008-09-28 19:16:03 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.5.7. Please verify if this is indeed the case and reopen the bug if you think it is not fixed (include any additional information that you think can be relevant).
Comment 4 albert 2011-11-01 10:10:00 UTC
I checked the above code and it shows up in the documentation.

Unfortunately I cannot set this bug to verified.
Comment 5 Alin M Elena 2011-11-01 10:13:11 UTC
I think it was fixed long time ago...I cannot remember why is still open.