summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-11 12:08:26 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-11 12:08:26 +0000
commit911ecac27a2027809d1bd46e91e1e4ee6870d4e8 (patch)
tree8e3232837402986cf926337b58825d00db93afec /gcc/config
parent3d437c8d72e4483d7994665c3cb121fd60d37dc7 (diff)
downloadgcc-911ecac27a2027809d1bd46e91e1e4ee6870d4e8.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222007 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.c4
1 files changed, 2 insertions, 2 deletions
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;
}