summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2011-05-06 12:07:35 +0200
committerUros Bizjak <uros@gcc.gnu.org>2011-05-06 12:07:35 +0200
commit9ef58464306f1e753efa88aea41f4ea7eb7f2c61 (patch)
treeec056257172e6c707da68c278a78dc912a2a0dff
parent73452ce79a0be60509fde8f6f2949aa84b0b7766 (diff)
downloadgcc-9ef58464306f1e753efa88aea41f4ea7eb7f2c61.tar.gz
re PR target/48898 (i386/netware.c:i386_nlm_maybe_mangle_decl_assembler_name: ‘cvt’ undeclared)
PR target/48898 * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): Fix typo in "ccvt" variable name. From-SVN: r173475
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/netware.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b98ce8901c7..0d9b62fef68 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-06 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/48898
+ * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name):
+ Fix typo in "ccvt" variable name.
+
2011-05-06 Tristan Gingold <gingold@adacore.com>
PR target/48895
diff --git a/gcc/config/i386/netware.c b/gcc/config/i386/netware.c
index 80f26f88aec..5a0f9d5de74 100644
--- a/gcc/config/i386/netware.c
+++ b/gcc/config/i386/netware.c
@@ -160,7 +160,7 @@ i386_nlm_maybe_mangle_decl_assembler_name (tree decl, tree id)
}
else if ((ccvt & IX86_CALLCVT_FASTCALL) != 0)
new_id = gen_stdcall_or_fastcall_decoration (decl, id, FASTCALL_PREFIX);
- else if ((cvt & IX86_CALLCVT_REGPARM) != 0
+ else if ((ccvt & IX86_CALLCVT_REGPARM) != 0
&& (new_id = lookup_attribute ("regparm", type_attributes)))
new_id = gen_regparm_prefix (decl, id,
TREE_INT_CST_LOW (TREE_VALUE (TREE_VALUE (new_id))));