This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add missing whitespace in new warning
- From: Martin Michlmayr <tbm at cyrius dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 9 Nov 2008 10:14:29 +0100
- Subject: Add missing whitespace in new warning
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/