From: Diego Novillo Date: Wed, 1 Jun 2011 20:14:17 +0000 (-0400) Subject: lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers): Remove assertion... X-Git-Tag: releases/gcc-4.7.0~6300 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ee3537a6debc659c724e3fa04a7f704bc11ea80;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85b68a744b08..ddf09eae3ef2 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 b3b81bdf9170..a95bbdaf97b5 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); }