diff options
author | Alexander Monakov <amonakov@gcc.gnu.org> | 2015-05-25 20:44:45 +0300 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2015-05-25 20:44:45 +0300 |
commit | 4ea9e6c799b77c70911838adbef5cd594816d06a (patch) | |
tree | 2cde1360d1d2005b0320572a347712a308c97d47 | |
parent | 9e46366d37515a06fb9f70674771ea799f2d27d3 (diff) | |
download | gcc-4ea9e6c799b77c70911838adbef5cd594816d06a.zip gcc-4ea9e6c799b77c70911838adbef5cd594816d06a.tar.gz gcc-4ea9e6c799b77c70911838adbef5cd594816d06a.tar.bz2 |
* config/i386/i386.c (ix86_function_ok_for_sibcall): Check flag_plt.
From-SVN: r223648
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 1 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6460f47..a58e245 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index af219fd..99322b4 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; |