[Bug target/48898] i386/netware.c:i386_nlm_maybe_mangle_decl_assembler_name: ‘cvt’ undeclared
amylaar at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 6 08:49:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48898
--- Comment #3 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2011-05-06 08:46:50 UTC ---
(In reply to comment #1)
> 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))));
Yes, that allows me to finish the build of "all-gcc".
More information about the Gcc-bugs
mailing list