[Bug fortran/39577] False positive with -fcheck=recursion
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 29 19:20:00 GMT 2009
------- Comment #2 from burnus at gcc dot gnu dot org 2009-03-29 19:20 -------
> the error seems to be due to the second call to test():
> usual suspect = unitialized variable?
No - the problem is a missing "is_recursive = 0" (see dump in comment 0).
The problem is that the variable needs to be set in trans-stmt.c's
gfc_trans_return while the variable is created in gfc_generate_function_code.
The question is now, how to make the TREE available to gfc_trans_return.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39577
More information about the Gcc-bugs
mailing list