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); }