cgraphunit.c (cgraph_build_static_cdtor): Don't set DECL_IGNORED_P.
authorGeoffrey Keating <geoffk@apple.com>
Thu, 4 Oct 2007 21:24:03 +0000 (21:24 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 4 Oct 2007 21:24:03 +0000 (21:24 +0000)
* cgraphunit.c (cgraph_build_static_cdtor): Don't set
DECL_IGNORED_P.

From-SVN: r129024

gcc/ChangeLog
gcc/cgraphunit.c

index 94ac51b7ae82762868405f89a90d5973da5e0477..35003ed20e5420d27fda2f2e9d5535428e2dc34b 100644 (file)
@@ -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.
index 0218d260066863574f4a94bb8364a8afe0309997..e4b2e5c63f162061e217958901979fa7f5af84f9 100644 (file)
@@ -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;