aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-09 09:47:29 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-09 09:47:29 -0400
commit3c8cd8bd6e25180e26cdd48d38ec365d20158c56 (patch)
tree95fc3ccb0d14fc22868a28d7ba2ba417d0a2c958
parent053da6b50d1ec77d71297ba9ef41e8fc4c18362d (diff)
downloadgcc-3c8cd8bd6e25180e26cdd48d38ec365d20158c56.zip
gcc-3c8cd8bd6e25180e26cdd48d38ec365d20158c56.tar.gz
gcc-3c8cd8bd6e25180e26cdd48d38ec365d20158c56.tar.bz2
(unitialized_vars_warning, setjmp_args_warning): Reword warning to be
less ambiguous. From-SVN: r7005
-rw-r--r--gcc/function.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 8c9cc5f..ca6eb6f 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4078,13 +4078,13 @@ uninitialized_vars_warning (block)
&& GET_CODE (DECL_RTL (decl)) == REG
&& regno_uninitialized (REGNO (DECL_RTL (decl))))
warning_with_decl (decl,
- "`%s' may be used uninitialized in this function");
+ "`%s' might be used uninitialized in this function");
if (TREE_CODE (decl) == VAR_DECL
&& DECL_RTL (decl) != 0
&& 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' or `vfork'");
+ "variable `%s' might be clobbered by `longjmp' or `vfork'");
}
for (sub = BLOCK_SUBBLOCKS (block); sub; sub = TREE_CHAIN (sub))
uninitialized_vars_warning (sub);
@@ -4103,7 +4103,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' or `vfork'");
+ warning_with_decl (decl, "argument `%s' might be clobbered by `longjmp' or `vfork'");
}
/* If this function call setjmp, put all vars into the stack