Fix grammar of some strings output by gcc
Malcolm Parsons
malcolm.parsons@gmail.com
Thu Aug 24 13:23:00 GMT 2006
Hi,
This patch should be obvious.
Missing space, missing words, incorrect word.
Index: gcc.c
===================================================================
--- gcc.c (revision 116373)
+++ gcc.c (working copy)
@@ -3332,7 +3332,7 @@
argv += 2;
}
else
- fatal ("'-%c' option must have argument", opt);
+ fatal ("'-%c' option must have an argument", opt);
if (opt == 'V')
new_version = arg;
else
Index: cp/class.c
===================================================================
--- cp/class.c (revision 116373)
+++ cp/class.c (working copy)
@@ -3495,7 +3495,7 @@
(binfo, size_diffop (size_zero_node, BINFO_OFFSET (binfo)));
else
warning (OPT_Wabi,
- "offset of empty base %qT may not be ABI-compliant and may"
+ "offset of empty base %qT may not be ABI-compliant and may "
"change in a future version of GCC",
BINFO_TYPE (binfo));
}
Index: cfgloop.c
===================================================================
--- cfgloop.c (revision 116373)
+++ cfgloop.c (working copy)
@@ -1093,7 +1093,7 @@
for (j = 0; j < loop->num_nodes; j++)
if (!flow_bb_inside_loop_p (loop, bbs[j]))
{
- error ("bb %d do not belong to loop %d",
+ error ("bb %d does not belong to loop %d",
bbs[j]->index, i);
err = 1;
}
Index: config/alpha/alpha.opt
===================================================================
--- config/alpha/alpha.opt (revision 116373)
+++ config/alpha/alpha.opt (working copy)
@@ -108,11 +108,11 @@
mcpu=
Target RejectNegative Joined Var(alpha_cpu_string)
-Use features of and schedule given CPU
+Use features of and schedule for given CPU
mtune=
Target RejectNegative Joined Var(alpha_tune_string)
-Schedule given CPU
+Schedule for given CPU
mfp-rounding-mode=
Target RejectNegative Joined Var(alpha_fprm_string)
--
Malcolm Parsons
More information about the Gcc-patches
mailing list