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
This commit is contained in:
Diego Novillo 2011-06-01 16:14:17 -04:00 committed by Diego Novillo
parent 02972eafb0
commit 4ee3537a6d
2 changed files with 5 additions and 5 deletions

View 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

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