From 22f8cea5d84ae90721561a6c2fdeeb50e49ada87 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Fri, 16 Aug 2013 15:22:36 +0200 Subject: [PATCH] re PR target/58105 (wrong code generation for multiversioned functions) PR target/58105 * config/i386/i386.c (make_resolver_func): Set DECL_UNINLINABLE. From-SVN: r201790 --- gcc/ChangeLog | 16 +++++++++------- gcc/config/i386/i386.c | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0a77efc..cc51207 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-08-16 Bernd Edlinger + + PR target/58105 + * config/i386/i386.c (make_resolver_func): Set DECL_UNINLINABLE. + 2013-08-16 Jan Hubicka * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Add new @@ -5,8 +10,7 @@ (gimple_fold_call): Use it. * gimple.h (gimple_extract_devirt_binfo_from_cst): Update prototype. * ipa-cp.c (ipa_get_indirect_edge_target_1): Update. - * ipa-prop.c (ipa_analyze_virtual_call_uses): Use - obj_type_ref_class. + * ipa-prop.c (ipa_analyze_virtual_call_uses): Use obj_type_ref_class. (try_make_edge_direct_virtual_call): Likewise. * tree.c (obj_type_ref_class): New. * tree.h (obj_type_ref_class): Use it. @@ -43,15 +47,13 @@ 2013-08-14 Bill Schmidt PR target/57949 - * doc/invoke.texi: Add documentation of mcompat-align-parm - option. + * doc/invoke.texi: Add documentation of mcompat-align-parm option. * config/rs6000/rs6000.opt: Add mcompat-align-parm option. * config/rs6000/rs6000.c (rs6000_function_arg_boundary): For AIX and Linux, correct BLKmode alignment when 128-bit alignment is required and compatibility flag is not set. - (rs6000_gimplify_va_arg): For AIX and Linux, honor specified - alignment for zero-size arguments when compatibility flag is not - set. + (rs6000_gimplify_va_arg): For AIX and Linux, honor specified alignment + for zero-size arguments when compatibility flag is not set. 2013-08-14 Jakub Jelinek diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2f905d2..6d2a158 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -29922,7 +29922,7 @@ make_resolver_func (const tree default_decl, DECL_IGNORED_P (decl) = 0; /* IFUNC resolvers have to be externally visible. */ TREE_PUBLIC (decl) = 1; - DECL_UNINLINABLE (decl) = 0; + DECL_UNINLINABLE (decl) = 1; /* Resolver is not external, body is generated. */ DECL_EXTERNAL (decl) = 0; -- 2.7.4