Revert accidental checkin.
authorJan Hubicka <hubicka@gcc.gnu.org>
Mon, 17 Feb 2014 09:23:41 +0000 (09:23 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 17 Feb 2014 09:23:41 +0000 (09:23 +0000)
From-SVN: r207818

gcc/cp/decl2.c

index 01a16d38a928cb0e00f3f217fc9a4dcdd88f59c5..35707a041a1b34ba532c2fe88d46afe3743688bd 100644 (file)
@@ -2660,6 +2660,7 @@ import_export_decl (tree decl)
                  comdat_p = (targetm.cxx.class_data_always_comdat ()
                              || (CLASSTYPE_KEY_METHOD (type)
                                  && DECL_DECLARED_INLINE_P (CLASSTYPE_KEY_METHOD (type))));
+                 mark_needed (decl);
                  if (!flag_weak)
                    {
                      comdat_p = false;