diff options
author | Martin Liska <mliska@suse.cz> | 2017-05-02 17:00:47 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-05-02 15:00:47 +0000 |
commit | c1a2a0b833fb3e9db7258fe991579012d3872386 (patch) | |
tree | 7d1334a9a9a0f813147025b8dcc517fb0a253c18 /gcc/tree-streamer-out.c | |
parent | 1853f5c77f124d60d60fcc0859b742d22cd4d5c0 (diff) | |
download | gcc-c1a2a0b833fb3e9db7258fe991579012d3872386.zip gcc-c1a2a0b833fb3e9db7258fe991579012d3872386.tar.gz gcc-c1a2a0b833fb3e9db7258fe991579012d3872386.tar.bz2 |
Remove LTO_STREAMER_DEBUG (PR lto/79489).
2017-05-02 Martin Liska <mliska@suse.cz>
PR lto/79489.
* lto-streamer-in.c (lto_read_tree_1): Remove
LTO_STREAMER_DEBUG.
* lto-streamer.c (struct tree_hash_entry): Likewise.
(struct tree_entry_hasher): Likewise.
(tree_entry_hasher::hash): Likewise.
(tree_entry_hasher::equal): Likewise.
(lto_streamer_init): Likewise.
(lto_orig_address_map): Likewise.
(lto_orig_address_get): Likewise.
(lto_orig_address_remove): Likewise.
* lto-streamer.h: Likewise.
* tree-streamer-in.c (streamer_alloc_tree): Likewise.
* tree-streamer-out.c (streamer_write_tree_header): Likewise.
From-SVN: r247501
Diffstat (limited to 'gcc/tree-streamer-out.c')
-rw-r--r-- | gcc/tree-streamer-out.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c index 5cf9044..05239fb 100644 --- a/gcc/tree-streamer-out.c +++ b/gcc/tree-streamer-out.c @@ -952,16 +952,6 @@ streamer_write_tree_header (struct output_block *ob, tree expr) tag = lto_tree_code_to_tag (code); streamer_write_record_start (ob, tag); - /* The following will cause bootstrap miscomparisons. Enable with care. */ -#ifdef LTO_STREAMER_DEBUG - /* This is used mainly for debugging purposes. When the reader - and the writer do not agree on a streamed node, the pointer - value for EXPR can be used to track down the differences in - the debugger. */ - gcc_assert ((HOST_WIDE_INT) (intptr_t) expr == (intptr_t) expr); - streamer_write_hwi (ob, (HOST_WIDE_INT) (intptr_t) expr); -#endif - /* The text in strings and identifiers are completely emitted in the header. */ if (CODE_CONTAINS_STRUCT (code, TS_STRING)) |