diff options
author | Geoffrey Keating <geoffk@apple.com> | 2007-10-04 21:24:03 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2007-10-04 21:24:03 +0000 |
commit | 79f4ede4644f6c87c46dcddae215111aecd59654 (patch) | |
tree | ae648be4b1050d8504f129f01564b3b2af67cdaf | |
parent | 8819eb78eeeb80a427d74583cec5a8615aceb855 (diff) | |
download | gcc-79f4ede4644f6c87c46dcddae215111aecd59654.zip gcc-79f4ede4644f6c87c46dcddae215111aecd59654.tar.gz gcc-79f4ede4644f6c87c46dcddae215111aecd59654.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 94ac51b..35003ed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> * config/avr/avr.c (expand_epilogue): Don't set RTX_FRAME_RELATED_P. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 0218d26..e4b2e5c 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1400,7 +1400,6 @@ cgraph_build_static_cdtor (char which, tree body, int priority) resdecl = build_decl (RESULT_DECL, NULL_TREE, void_type_node); DECL_ARTIFICIAL (resdecl) = 1; - DECL_IGNORED_P (resdecl) = 1; DECL_RESULT (decl) = resdecl; allocate_struct_function (decl); @@ -1408,7 +1407,6 @@ cgraph_build_static_cdtor (char which, tree body, int priority) 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; TREE_PUBLIC (decl) = ! targetm.have_ctors_dtors; |