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