c-common.c (warn_about_parentheses): Add missing whitespace

in warning.

From-SVN: r141826
This commit is contained in:
Martin Michlmayr 2008-11-13 18:47:18 +00:00 committed by Martin Michlmayr
parent b1f80fe197
commit a231ffe57d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-11-13 Martin Michlmayr <tbm@cyrius.com>
* c-common.c (warn_about_parentheses): Add missing whitespace
in warning.
2008-11-13 Paul Brook <paul@codesourcery.com>
* doc/invoke.texi: Document --fix-cortex-m3.

View File

@ -8116,7 +8116,7 @@ warn_about_parentheses (enum tree_code code,
/* Check cases like !x | y */
else if (code_left == TRUTH_NOT_EXPR
&& !APPEARS_TO_BE_BOOLEAN_EXPR_P (code_right, arg_right))
warning (OPT_Wparentheses, "suggest parentheses around operand of"
warning (OPT_Wparentheses, "suggest parentheses around operand of "
"%<!%> or change %<|%> to %<||%> or %<!%> to %<~%>");
return;
@ -8149,7 +8149,7 @@ warn_about_parentheses (enum tree_code code,
/* Check cases like !x & y */
else if (code_left == TRUTH_NOT_EXPR
&& !APPEARS_TO_BE_BOOLEAN_EXPR_P (code_right, arg_right))
warning (OPT_Wparentheses, "suggest parentheses around operand of"
warning (OPT_Wparentheses, "suggest parentheses around operand of "
"%<!%> or change %<&%> to %<&&%> or %<!%> to %<~%>");
return;