From 4c8db992ba2e347b1c0f1284892efde6aeb0f7f5 Mon Sep 17 00:00:00 2001 From: bonzini Date: Fri, 18 Mar 2005 10:42:16 +0000 Subject: [PATCH] 2005-03-18 Alexey Neyman Paolo Bonzini * calls.c (setjmp_call_p, special_function_p): Update comments at the head of the functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96656 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/calls.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b17b7fecfcfc..b701b67ae69c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-03-18 Alexey Neyman + Paolo Bonzini + + * calls.c (setjmp_call_p, special_function_p): Update comments + at the head of the functions. + 2005-03-18 Jan Hubicka * tree-cfg.c (fold_cond_expr_cond): Use boolean types for condition. diff --git a/gcc/calls.c b/gcc/calls.c index 4b9e051298dc..a6a071a09f80 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -463,7 +463,7 @@ emit_call_1 (rtx funexp, tree fntree, tree fndecl ATTRIBUTE_UNUSED, For example, if the function might return more than one time (setjmp), then set RETURNS_TWICE to a nonzero value. - Similarly set LONGJMP for if the function is in the longjmp family. + Similarly set NORETURN if the function is in the longjmp family. Set MAY_BE_ALLOCA for any memory allocation function that might allocate space from the stack such as alloca. */ @@ -538,7 +538,7 @@ special_function_p (tree fndecl, int flags) return flags; } -/* Return nonzero when tree represent call to longjmp. */ +/* Return nonzero when FNDECL represents a call to setjmp. */ int setjmp_call_p (tree fndecl) -- 2.47.3