diff options
-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; |