* ipa.c (cgraph_build_static_cdtor_1): Set DECL_IGNORED_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227252
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-08-27 Richard Biener <rguenther@suse.de>
+
+ * ipa.c (cgraph_build_static_cdtor_1): Set DECL_IGNORED_P.
+
2015-08-27 Dominik Vogt <vogt@linux.vnet.ibm.com>
* config/s390/s390.c (s390_emit_prologue): Add emit_barrier() after
TREE_STATIC (decl) = 1;
TREE_USED (decl) = 1;
DECL_ARTIFICIAL (decl) = 1;
+ DECL_IGNORED_P (decl) = 1;
DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT (decl) = 1;
DECL_SAVED_TREE (decl) = body;
if (!targetm.have_ctors_dtors && final)