lto-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call output_record_st...
authorDiego Novillo <dnovillo@google.com>
Wed, 1 Jun 2011 20:36:55 +0000 (16:36 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Wed, 1 Jun 2011 20:36:55 +0000 (16:36 -0400)
commit072339477c2005943492579576764494b07f1f06
treebc32f2535fb9ff5735df8d35ceafc095aafffd18
parent4324a55c06f5e18cbcf6b1a1180435187cfd9876
lto-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call output_record_start with LTO_null instead of output_zero.

* lto-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call
output_record_start with LTO_null instead of output_zero.
(lto_output_ts_binfo_tree_pointers): Likewise.
(lto_output_tree): Likewise.
(output_eh_try_list): Likewise.
(output_eh_region): Likewise.
(output_eh_lp): Likewise.
(output_eh_regions): Likewise.
(output_bb): Likewise.
(output_function): Likewise.
(output_unreferenced_globals): Likewise.
* lto-streamer.h (enum LTO_tags): Reserve MAX_TREE_CODES
instead of NUM_TREE_CODES.
(lto_tag_is_tree_code_p): Check max value against MAX_TREE_CODES.
(lto_output_int_in_range): Change << to >> when shifting VAL.

From-SVN: r174544
gcc/ChangeLog
gcc/lto-streamer-out.c
gcc/lto-streamer.h