From 4ee3537a6debc659c724e3fa04a7f704bc11ea80 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Wed, 1 Jun 2011 16:14:17 -0400 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/lto-streamer-out.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85b68a744b0..ddf09eae3ef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-06-01 Diego Novillo + + * 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 PR target/45074 diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index b3b81bdf917..a95bbdaf97b 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); } -- 2.30.2