[patch]: Fix sibcall handling of dllimport in w64

Kai Tietz ktietz70@googlemail.com
Tue Sep 23 18:17:00 GMT 2008


2008/9/23 Richard Henderson <rth@redhat.com>:
> Kai Tietz wrote:
>>
>>        * config/i386/i386.c (ix86_function_ok_for_sibcall): Correct
>>        check for sibcall support for w64.
>
> Rearrange the test like so:
>
>   if (TARGET_DLLIMPORT_DECL_ATTRIBUTES
> +      && !TARGET_64BIT
>       && decl && DECL_DLLIMPORT_P (decl)
>       && ix86_function_regparm (TREE_TYPE (decl), NULL) >= 3)
>     return false;
>
> Ok with that change.

Ok, I changed the order and committed it at revision 140606.

Thanks,
Kai
-- 
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination



More information about the Gcc-patches mailing list