From ad32aa90bbf93368b76dc454710b88349ff735c8 Mon Sep 17 00:00:00 2001 From: amonakov Date: Mon, 25 May 2015 17:44:45 +0000 Subject: * config/i386/i386.c (ix86_function_ok_for_sibcall): Check flag_plt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223648 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/i386/i386.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/config/i386') diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index af219fdb3c7..99322b42ac3 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -5478,6 +5478,7 @@ ix86_function_ok_for_sibcall (tree decl, tree exp) if (!TARGET_MACHO && !TARGET_64BIT && flag_pic + && flag_plt && decl && !targetm.binds_local_p (decl)) return false; -- cgit v1.2.1