This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39577] False positive with -fcheck=recursion
- 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: 30 Mar 2009 20:34:55 -0000
- Subject: [Bug fortran/39577] False positive with -fcheck=recursion
- References: <bug-39577-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from burnus at gcc dot gnu dot org 2009-03-30 20:34 -------
I wonder whether a global variable (in trans-decl.c, exported in trans.h) is
not the easiest. There can only be one procedure at a time.
For the existing trans-decl.c one should put a if(!attr.function) as for
functions the code is unreachable (the return happens earlier).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39577