From 9ef58464306f1e753efa88aea41f4ea7eb7f2c61 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 6 May 2011 12:07:35 +0200 Subject: [PATCH] =?utf8?q?re=20PR=20target/48898=20(i386/netware.c:i386=5F?= =?utf8?q?nlm=5Fmaybe=5Fmangle=5Fdecl=5Fassembler=5Fname:=20=E2=80=98cvt?= =?utf8?q?=E2=80=99=20undeclared)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PR target/48898 * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): Fix typo in "ccvt" variable name. From-SVN: r173475 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/netware.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + 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 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)))); -- 2.30.2