+2006-03-02 Mike Stump <mrs@apple.com>
+
+ * decl2.c (import_export_decl): Remove redundant call to
+ targetm.cxx.key_method_may_be_inline ().
+
2006-03-02 Richard Sandiford <richard@codesourcery.com>
* decl.c (start_decl): Use have_global_bss_p when deciding
to arrange for comdat even though
class_data_always_comdat is false. */
if (!CLASSTYPE_KEY_METHOD (class_type)
- || (DECL_DECLARED_INLINE_P (CLASSTYPE_KEY_METHOD (class_type))
- && targetm.cxx.key_method_may_be_inline ())
+ || DECL_DECLARED_INLINE_P (CLASSTYPE_KEY_METHOD (class_type))
|| targetm.cxx.class_data_always_comdat ())
{
/* The ABI requires COMDAT linkage. Normally, we
{
comdat_p = (targetm.cxx.class_data_always_comdat ()
|| (CLASSTYPE_KEY_METHOD (type)
- && DECL_DECLARED_INLINE_P (CLASSTYPE_KEY_METHOD (type))
- && targetm.cxx.key_method_may_be_inline ()));
+ && DECL_DECLARED_INLINE_P (CLASSTYPE_KEY_METHOD (type))));
mark_needed (decl);
if (!flag_weak)
{