aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-06-05 09:10:02 +0000
committerRichard Stallman <rms@gnu.org>1993-06-05 09:10:02 +0000
commitf1b985b7e2807820ae8d7d1e710c84c76aca6594 (patch)
tree847ba88f0caa2da82de29ef08e9db99f187e5a54
parent2df34974748c2d55cd28d5bf137f943bbdee0c71 (diff)
downloadgcc-f1b985b7e2807820ae8d7d1e710c84c76aca6594.zip
gcc-f1b985b7e2807820ae8d7d1e710c84c76aca6594.tar.gz
gcc-f1b985b7e2807820ae8d7d1e710c84c76aca6594.tar.bz2
(uninitialized_vars_warning): Change warning text.
(setjmp_args_warning): Likewise. From-SVN: r4635
-rw-r--r--gcc/function.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index d411abc..f9d8517 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -3662,7 +3662,7 @@ uninitialized_vars_warning (block)
&& GET_CODE (DECL_RTL (decl)) == REG
&& regno_clobbered_at_setjmp (REGNO (DECL_RTL (decl))))
warning_with_decl (decl,
- "variable `%s' may be clobbered by `longjmp'");
+ "variable `%s' may be clobbered by `longjmp' or `vfork'");
}
for (sub = BLOCK_SUBBLOCKS (block); sub; sub = TREE_CHAIN (sub))
uninitialized_vars_warning (sub);
@@ -3681,7 +3681,7 @@ setjmp_args_warning (block)
if (DECL_RTL (decl) != 0
&& GET_CODE (DECL_RTL (decl)) == REG
&& regno_clobbered_at_setjmp (REGNO (DECL_RTL (decl))))
- warning_with_decl (decl, "argument `%s' may be clobbered by `longjmp'");
+ warning_with_decl (decl, "argument `%s' may be clobbered by `longjmp' or `vfork'");
}
/* If this function call setjmp, put all vars into the stack