ipa.c (cgraph_build_static_cdtor_1): Set DECL_IGNORED_P.
2015-08-27 Richard Biener <rguenther@suse.de> * ipa.c (cgraph_build_static_cdtor_1): Set DECL_IGNORED_P. From-SVN: r227252
This commit is contained in:
parent
d26d508afa
commit
3f2dd8cdb9
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -917,6 +917,7 @@ cgraph_build_static_cdtor_1 (char which, tree body, int priority, bool final)
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue