This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48898] i386/netware.c:i386_nlm_maybe_mangle_decl_assembler_name: âcvtâ undeclared
- From: "amylaar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 6 May 2011 08:49:18 +0000
- Subject: [Bug target/48898] i386/netware.c:i386_nlm_maybe_mangle_decl_assembler_name: âcvtâ undeclared
- Auto-submitted: auto-generated
- References: <bug-48898-4@http.gcc.gnu.org/bugzilla/>
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".