Add missing whitespace in new warning
Martin Michlmayr
tbm@cyrius.com
Sun Nov 9 12:38:00 GMT 2008
OK to commit to trunk?
c-common.c (warn_about_parentheses): Add missing whitespace
in warning.
Index: gcc/c-common.c
===================================================================
--- gcc/c-common.c (revision 141713)
+++ gcc/c-common.c (working copy)
@@ -8119,7 +8119,7 @@
/* 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;
@@ -8152,7 +8152,7 @@
/* 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;
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Gcc-patches
mailing list