aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2011-06-01 16:14:17 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2011-06-01 16:14:17 -0400
commit4ee3537a6debc659c724e3fa04a7f704bc11ea80 (patch)
tree8f07311ee4ade0c485405cd2cf32f0f813c706a8 /gcc
parent02972eafb03f823c9dcbe3ede3d1f96562afaa89 (diff)
downloadgcc-4ee3537a6debc659c724e3fa04a7f704bc11ea80.zip
gcc-4ee3537a6debc659c724e3fa04a7f704bc11ea80.tar.gz
gcc-4ee3537a6debc659c724e3fa04a7f704bc11ea80.tar.bz2
lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers): Remove assertion for DECL_SAVED_TREE in FUNCTION_DECL nodes.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lto-streamer-out.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 85b68a7..ddf09ea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c
index b3b81bd..a95bbda 100644
--- a/gcc/lto-streamer-out.c
+++ b/gcc/lto-streamer-out.c
@@ -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);
}