From 37e27d01ca9a909987268f9e7ddc0a85cfc0863c Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Tue, 23 Sep 2008 17:56:45 +0000 Subject: i386.c (ix86_function_ok_for_sibcall): Correct check for sibcall support for w64. 2008-09-23 Kai Tietz *config/i386/i386.c (ix86_function_ok_for_sibcall): Correct check for sibcall support for w64. From-SVN: r140606 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 1 + 2 files changed, 6 insertions(+) (limited to 'gcc') 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 + + *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 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; -- cgit v1.1