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))));