diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d289790eca4..1d13deb63e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-23 Kai Tietz + + *config/i386/i386.c (ix86_function_ok_for_sibcall): Correct + check for sibcall support for w64. + 2008-09-23 Eric Botcazou * c-ppoutput.c (cb_used_define): Do nothing for a builtin node. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 79531a3d5a1..bfc610c2056 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4099,6 +4099,7 @@ ix86_function_ok_for_sibcall (tree decl, tree exp) /* Dllimport'd functions are also called indirectly. */ if (TARGET_DLLIMPORT_DECL_ATTRIBUTES + && !TARGET_64BIT && decl && DECL_DLLIMPORT_P (decl) && ix86_function_regparm (TREE_TYPE (decl), NULL) >= 3) return false;