(unitialized_vars_warning, setjmp_args_warning): Reword warning to be

less ambiguous.

From-SVN: r7005
This commit is contained in:
Richard Kenner 1994-04-09 09:47:29 -04:00
parent 053da6b50d
commit 3c8cd8bd6e
1 changed files with 3 additions and 3 deletions

View File

@ -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