Commit 79f4ede4 by Geoffrey Keating Committed by Geoffrey Keating

cgraphunit.c (cgraph_build_static_cdtor): Don't set DECL_IGNORED_P.

	* cgraphunit.c (cgraph_build_static_cdtor): Don't set
	DECL_IGNORED_P.

From-SVN: r129024
parent 8819eb78
2007-10-04 Geoffrey Keating <geoffk@apple.com>
* cgraphunit.c (cgraph_build_static_cdtor): Don't set
DECL_IGNORED_P.
2007-10-04 Anatoly Sokolov <aesok@post.ru> 2007-10-04 Anatoly Sokolov <aesok@post.ru>
* config/avr/avr.c (expand_epilogue): Don't set RTX_FRAME_RELATED_P. * config/avr/avr.c (expand_epilogue): Don't set RTX_FRAME_RELATED_P.
...@@ -1400,7 +1400,6 @@ cgraph_build_static_cdtor (char which, tree body, int priority) ...@@ -1400,7 +1400,6 @@ cgraph_build_static_cdtor (char which, tree body, int priority)
resdecl = build_decl (RESULT_DECL, NULL_TREE, void_type_node); resdecl = build_decl (RESULT_DECL, NULL_TREE, void_type_node);
DECL_ARTIFICIAL (resdecl) = 1; DECL_ARTIFICIAL (resdecl) = 1;
DECL_IGNORED_P (resdecl) = 1;
DECL_RESULT (decl) = resdecl; DECL_RESULT (decl) = resdecl;
allocate_struct_function (decl); allocate_struct_function (decl);
...@@ -1408,7 +1407,6 @@ cgraph_build_static_cdtor (char which, tree body, int priority) ...@@ -1408,7 +1407,6 @@ cgraph_build_static_cdtor (char which, tree body, int priority)
TREE_STATIC (decl) = 1; TREE_STATIC (decl) = 1;
TREE_USED (decl) = 1; TREE_USED (decl) = 1;
DECL_ARTIFICIAL (decl) = 1; DECL_ARTIFICIAL (decl) = 1;
DECL_IGNORED_P (decl) = 1;
DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT (decl) = 1; DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT (decl) = 1;
DECL_SAVED_TREE (decl) = body; DECL_SAVED_TREE (decl) = body;
TREE_PUBLIC (decl) = ! targetm.have_ctors_dtors; TREE_PUBLIC (decl) = ! targetm.have_ctors_dtors;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment