[Bug fortran/39577] False positive with -fcheck=recursion

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 30 20:35:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list