aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2014-02-17 09:23:41 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2014-02-17 09:23:41 +0000
commitcd282a6d96cbd439127dfd590275467f4493163f (patch)
treed83ddf85a8f0a0cce82114b7db3570532a85bd85 /gcc
parentd737743fce8e8763c3b846393c92221371cd9f02 (diff)
downloadgcc-cd282a6d96cbd439127dfd590275467f4493163f.zip
gcc-cd282a6d96cbd439127dfd590275467f4493163f.tar.gz
gcc-cd282a6d96cbd439127dfd590275467f4493163f.tar.bz2
Revert accidental checkin.
From-SVN: r207818
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/decl2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 01a16d3..35707a0 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -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;