Commit c9fff01f by Jan Hubicka Committed by Jan Hubicka

Fix problems in my previous commit.

From-SVN: r32930
parent 3ea0387c
Wed Apr 5 15:12:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
* optimize.c (calls_setjmp_r): Use setjmp_call_p instead of
special_function_p.
2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cfns.gperf (hash, libc_name_p): Prototype. * cfns.gperf (hash, libc_name_p): Prototype.
......
...@@ -752,7 +752,7 @@ calls_setjmp_r (tp, walk_subtrees, data) ...@@ -752,7 +752,7 @@ calls_setjmp_r (tp, walk_subtrees, data)
if (TREE_CODE (*tp) != FUNCTION_DECL) if (TREE_CODE (*tp) != FUNCTION_DECL)
return NULL_TREE; return NULL_TREE;
return setjmp_call_p (*tp); return setjmp_call_p (*tp) ? *tp : NULL_TREE;
} }
/* Returns non-zero if FN calls `setjmp' or some other function that /* Returns non-zero if FN calls `setjmp' or some other function that
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment