OSDN Git Service

PR target/48898
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2011 10:07:35 +0000 (10:07 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2011 10:07:35 +0000 (10:07 +0000)
* config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name):
Fix typo in "ccvt" variable name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173475 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/netware.c

index b98ce89..0d9b62f 100644 (file)
@@ -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
index 80f26f8..5a0f9d5 100644 (file)
@@ -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))));