c-common.c (warn_about_parentheses): Add missing whitespace
in warning. From-SVN: r141826
This commit is contained in:
parent
b1f80fe197
commit
a231ffe57d
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue