* config/i386/i386.c (ix86_function_ok_for_sibcall): Check flag_plt.

From-SVN: r223648
This commit is contained in:
Alexander Monakov 2015-05-25 20:44:45 +03:00
parent 9e46366d37
commit 4ea9e6c799
2 changed files with 8 additions and 3 deletions

View File

@ -1,9 +1,13 @@
2015-05-25 Alexander Monakov <amonakov@ispras.ru>
* config/i386/i386.c (ix86_function_ok_for_sibcall): Check flag_plt.
2015-05-25 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
* config/avr/avr.c (avr_out_load_psi_reg_no_disp_tiny): Restore base
register if not marked dead/unused, before return.
2015-05-22 Jan Hubicka <hubicka@ucw.cz>
2015-05-24 Jan Hubicka <hubicka@ucw.cz>
PR lto/66180
* ipa-devirt.c (type_with_linkage): Check that TYPE_STUB_DECL
@ -15,7 +19,7 @@
* tree.c (need_assembler_name_p): Even anonymous namespace needs
assembler name.
2015-05-22 Jan Hubicka <hubicka@ucw.cz>
2015-05-24 Jan Hubicka <hubicka@ucw.cz>
* ipa-utils.h (method_class_type): Remove.
* cgraphunit.c (walk_polymorphic_call_targets): Use
@ -29,7 +33,7 @@
* pa-polymorphic-call.c (decl_maybe_in_construction_p,
check_stmt_for_type_change): Use TYPE_METHOD_BASETYPE.
2015-05-22 Jan Hubicka <hubicka@ucw.cz>
2015-05-24 Jan Hubicka <hubicka@ucw.cz>
* tree.c (prototype_p, virtual_method_call_p, obj_type_ref_class,
is_typedef_decl, typedef_variant_p): Constify.

View File

@ -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;