cgraph.c (cgraph_node::verify_node): Compare against builtin by using DECL_BUILT_IN_C...
authorRichard Biener <rguenther@suse.de>
Mon, 25 Jul 2016 12:35:08 +0000 (12:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 25 Jul 2016 12:35:08 +0000 (12:35 +0000)
commitea6e17d5c008e7df184e00e50be3bf078e002634
tree0399e6e9c525ba63a77eae7d1e43f74c8a8d83f4
parentbf01e070a65a0d85cce05034673648b79d467c72
cgraph.c (cgraph_node::verify_node): Compare against builtin by using DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE.

2016-07-25  Richard Biener  <rguenther@suse.de>

* cgraph.c (cgraph_node::verify_node): Compare against builtin
by using DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE.
* tree-chkp.c (chkp_gimple_call_builtin_p): Likewise.
* tree-streamer.h (streamer_handle_as_builtin_p): Remove.
(streamer_get_builtin_tree): Likewise.
(streamer_write_builtin): Likewise.
* lto-streamer.h (LTO_builtin_decl): Remove.
* lto-streamer-in.c (lto_read_tree_1): Remove assert.
(lto_input_scc): Remove LTO_builtin_decl handling.
(lto_input_tree_1): Liekwise.
* lto-streamer-out.c (lto_output_tree_1): Remove special
handling of builtins.
(DFS::DFS): Likewise.
* tree-streamer-in.c (streamer_get_builtin_tree): Remove.
* tree-streamer-out.c (pack_ts_function_decl_value_fields): Remove
assert.
(streamer_write_builtin): Remove.

lto/
* lto.c (compare_tree_sccs_1): Remove streamer_handle_as_builtin_p uses.
(unify_scc): Likewise.
(lto_read_decls): Likewise.

From-SVN: r238709
gcc/ChangeLog
gcc/cgraph.c
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/lto-streamer.h
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree-chkp.c
gcc/tree-streamer-in.c
gcc/tree-streamer-out.c
gcc/tree-streamer.h