[Bug target/48898] i386/netware.c:i386_nlm_maybe_mangle_decl_assembler_name: ‘cvt’ undeclared
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri May 6 06:51:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48898
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-05-06 06:46:57 UTC ---
Typo, can you please try this patch:
Index: netware.c
===================================================================
--- netware.c (revision 173469)
+++ netware.c (working copy)
@@ -160,7 +160,7 @@
}
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))));
More information about the Gcc-bugs
mailing list