Fix problems in my previous commit.

From-SVN: r32930
This commit is contained in:
Jan Hubicka 2000-04-05 15:27:08 +00:00 committed by Jan Hubicka
parent 3ea0387c39
commit c9fff01f44
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* cfns.gperf (hash, libc_name_p): Prototype.

View File

@ -752,7 +752,7 @@ calls_setjmp_r (tp, walk_subtrees, data)
if (TREE_CODE (*tp) != FUNCTION_DECL)
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