aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <alex.neyman@auriga.ru>2005-03-18 10:42:16 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2005-03-18 10:42:16 +0000
commitbae802f98b2514a0a93a615db8dbdd957f4c7111 (patch)
treef248c5e28501be330626f9ac1e598c378f83308c
parent4bafe847f46b4b76739fcdb7f935900b00969821 (diff)
downloadgcc-bae802f98b2514a0a93a615db8dbdd957f4c7111.zip
gcc-bae802f98b2514a0a93a615db8dbdd957f4c7111.tar.gz
gcc-bae802f98b2514a0a93a615db8dbdd957f4c7111.tar.bz2
Paolo Bonzini <gcc.gnu.org>
2005-03-18 Alexey Neyman <alex.neyman@auriga.ru> Paolo Bonzini <gcc.gnu.org> * calls.c (setjmp_call_p, special_function_p): Update comments at the head of the functions. From-SVN: r96656
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/calls.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b17b7fe..b701b67 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2005-03-18 Alexey Neyman <alex.neyman@auriga.ru>
+ Paolo Bonzini <gcc.gnu.org>
+
+ * calls.c (setjmp_call_p, special_function_p): Update comments
+ at the head of the functions.
+
2005-03-18 Jan Hubicka <jh@suse.cz>
* tree-cfg.c (fold_cond_expr_cond): Use boolean types for condition.
diff --git a/gcc/calls.c b/gcc/calls.c
index 4b9e051..a6a071a 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)