This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32626] New: Run-time check for recursive functions
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2007 18:19:11 -0000
- Subject: [Bug fortran/32626] New: Run-time check for recursive functions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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