aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d289790..1d13deb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-23 Kai Tietz <kai.tietz@onevision.com>
+
+ *config/i386/i386.c (ix86_function_ok_for_sibcall): Correct
+ check for sibcall support for w64.
+
2008-09-23 Eric Botcazou <ebotcazou@adacore.com>
* 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 79531a3..bfc610c 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;