From faca49c2c8cfd949fb3d3143bc02fa18ba3111e8 Mon Sep 17 00:00:00 2001 From: ktietz Date: Tue, 23 Sep 2008 17:56:45 +0000 Subject: [PATCH] 2008-09-23 Kai Tietz *config/i386/i386.c (ix86_function_ok_for_sibcall): Correct check for sibcall support for w64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140606 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 1 + 2 files changed, 6 insertions(+) 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; -- 2.11.0