From 4a283fdfbf9eb2bee7ccba7cbe75ac5e11ba0ce2 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Mon, 8 Jul 2013 19:54:55 +0200 Subject: [PATCH] re PR c++/56892 (dllexport prevents inline inside dll) PR target/56892 * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as hook_bool_const_tree_true. From-SVN: r200792 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d243ff49be..b7f2124ce29 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-07-08 Kai Tietz + + PR target/56892 + * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as + hook_bool_const_tree_true. + 2013-07-08 Andreas Krebbel * config/s390/s390.c: Replace F*_REGNUM with FPR*_REGNUM. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 77268391ae2..94a94e4ccb3 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -42687,6 +42687,8 @@ ix86_memmodel_check (unsigned HOST_WIDE_INT val) #undef TARGET_ATTRIBUTE_TABLE #define TARGET_ATTRIBUTE_TABLE ix86_attribute_table +#undef TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P +#define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_const_tree_true #if TARGET_DLLIMPORT_DECL_ATTRIBUTES # undef TARGET_MERGE_DECL_ATTRIBUTES # define TARGET_MERGE_DECL_ATTRIBUTES merge_dllimport_decl_attributes