[Bug fortran/32626] New: Run-time check for recursive functions

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 4 18:19:00 GMT 2007


We probably need:

-fcheck-*
with
  all
  bounds
  pointers
  recursive

The recursive test is simple. C example:

bla(...)
{
static recursive = 0;
if(recursive)
   exit_with_error
recursive = 1
...
recursive = 0; // Last statement
}


-- 
           Summary: Run-time check for recursive functions
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32626



More information about the Gcc-bugs mailing list