From: Benno Schulenberg Date: Sat, 11 Apr 2015 12:08:26 +0000 (+0000) Subject: gcov.c (find_source): Fix miswording in error message. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7106478c036641cc0e1b504ae42399a5d4ac3dc1;p=gcc.git gcov.c (find_source): Fix miswording in error message. * gcov.c (find_source): Fix miswording in error message. * config/i386/i386.c (ix86_handle_cconv_attribute): Likewise. (ix86_expand_sse_comi_round): Fix typo in error message. From-SVN: r222007 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index db56291cbe6..f60500a296b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-04-11 Benno Schulenberg + + * gcov.c (find_source): Fix miswording in error message. + * config/i386/i386.c (ix86_handle_cconv_attribute): Likewise. + (ix86_expand_sse_comi_round): Fix typo in error message. + 2015-04-11 Gerald Pfeifer * doc/contrib.texi (Contributors): Add Laurynas Biveinis. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a0b543a4101..110ec4adc68 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -5649,7 +5649,7 @@ ix86_handle_cconv_attribute (tree *node, tree name, else if (is_attribute_p ("thiscall", name)) { if (TREE_CODE (*node) != METHOD_TYPE && pedantic) - warning (OPT_Wattributes, "%qE attribute is used for none class-method", + warning (OPT_Wattributes, "%qE attribute is used for non-class method", name); if (lookup_attribute ("stdcall", TYPE_ATTRIBUTES (*node))) { @@ -37672,7 +37672,7 @@ ix86_expand_sse_comi_round (const struct builtin_description *d, } if (INTVAL (op2) < 0 || INTVAL (op2) >= 32) { - error ("incorect comparison mode"); + error ("incorrect comparison mode"); return const0_rtx; } diff --git a/gcc/gcov.c b/gcc/gcov.c index f5de08fa61b..796b1b97612 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -1141,7 +1141,7 @@ find_source (const char *file_name) if (!info_emitted) { fnotice (stderr, - "(the message is only displayed one per source file)\n"); + "(the message is displayed only once per source file)\n"); info_emitted = 1; } sources[idx].file_time = 0;