lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers): Remove assertion...
authorDiego Novillo <dnovillo@google.com>
Wed, 1 Jun 2011 20:14:17 +0000 (16:14 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Wed, 1 Jun 2011 20:14:17 +0000 (16:14 -0400)
* lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers):
Remove assertion for DECL_SAVED_TREE in FUNCTION_DECL nodes.

From-SVN: r174542

gcc/ChangeLog
gcc/lto-streamer-out.c

index 85b68a744b0843c72346ba73dc26d410870cff5e..ddf09eae3ef2084670cb5fe84f3be5b61aad5f99 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-01  Diego Novillo  <dnovillo@google.com>
+
+       * lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers):
+       Remove assertion for DECL_SAVED_TREE in FUNCTION_DECL nodes.
+
 2011-06-01  Richard Sandiford  <rdsandiford@googlemail.com>
 
        PR target/45074
index b3b81bdf917039e54b55ad2c2c67ac4504f1b7ed..a95bbdaf97b58c00ca28a30fcb7245e709d06bc4 100644 (file)
@@ -931,11 +931,6 @@ lto_output_ts_decl_non_common_tree_pointers (struct output_block *ob,
 {
   if (TREE_CODE (expr) == FUNCTION_DECL)
     {
-      /* DECL_SAVED_TREE holds the GENERIC representation for DECL.
-        At this point, it should not exist.  Either because it was
-        converted to gimple or because DECL didn't have a GENERIC
-        representation in this TU.  */
-      gcc_assert (DECL_SAVED_TREE (expr) == NULL_TREE);
       lto_output_tree_or_ref (ob, DECL_ARGUMENTS (expr), ref_p);
       lto_output_tree_or_ref (ob, DECL_RESULT (expr), ref_p);
     }