]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/56892 (dllexport prevents inline inside dll)
authorKai Tietz <ktietz@redhat.com>
Mon, 8 Jul 2013 17:54:55 +0000 (19:54 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Mon, 8 Jul 2013 17:54:55 +0000 (19:54 +0200)
PR target/56892
* config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as
hook_bool_const_tree_true.

From-SVN: r200792

gcc/ChangeLog
gcc/config/i386/i386.c

index 5d243ff49be97561669dcf39635e84227f938fec..b7f2124ce29b0e29d9921ff34afb3c0337b23807 100644 (file)
@@ -1,3 +1,9 @@
+2013-07-08  Kai Tietz  <ktietz@redhat.com>
+
+       PR target/56892
+       * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as
+       hook_bool_const_tree_true.
+
 2013-07-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * config/s390/s390.c: Replace F*_REGNUM with FPR*_REGNUM.
index 77268391ae20e4e5e7caef45b0c70ccf998c7521..94a94e4ccb3813c788be89498ee459b899841e51 100644 (file)
@@ -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