This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/48898] i386/netware.c:i386_nlm_maybe_mangle_decl_assembler_name: âcvtâ undeclared


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]