Commit 351d90f4 by Jan Hubicka Committed by Jan Hubicka

re PR ipa/66181 (/usr/include/bits/types.h:134:16: ICE: verify_type failed)


	PR ipa/66181
	* lto.c (compare_tree_sccs_1): Do not compare TYPE_NO_FORCE_BLK.
	* lto-streamer-out.c (hash_tree): Do not hash TYPE_NO_FORCE_BLK.
	* tree-streamer-out.c (pack_ts_type_common_value_fields): Do not stream
	TYPE_NO_FORCE_BLK.
	* tree-streamer-in.c (unpack_ts_type_common_value_fields): Likewise.

From-SVN: r224471
parent 3beaff21
2015-06-14 Jan Hubicka <hubicka@ucw.cz>
PR ipa/66181
* lto-streamer-out.c (hash_tree): Do not hash TYPE_NO_FORCE_BLK.
* tree-streamer-out.c (pack_ts_type_common_value_fields): Do not stream
TYPE_NO_FORCE_BLK.
* tree-streamer-in.c (unpack_ts_type_common_value_fields): Likewise.
2015-06-14 Richard Sandiford <richard.sandiford@arm.com> 2015-06-14 Richard Sandiford <richard.sandiford@arm.com>
* rtl.h (classify_insn): Declare. * rtl.h (classify_insn): Declare.
......
...@@ -1119,7 +1119,8 @@ hash_tree (struct streamer_tree_cache_d *cache, hash_map<tree, hashval_t> *map, ...@@ -1119,7 +1119,8 @@ hash_tree (struct streamer_tree_cache_d *cache, hash_map<tree, hashval_t> *map,
{ {
hstate.add_wide_int (TYPE_MODE (t)); hstate.add_wide_int (TYPE_MODE (t));
hstate.add_flag (TYPE_STRING_FLAG (t)); hstate.add_flag (TYPE_STRING_FLAG (t));
hstate.add_flag (TYPE_NO_FORCE_BLK (t)); /* TYPE_NO_FORCE_BLK is private to stor-layout and need
no streaming. */
hstate.add_flag (TYPE_NEEDS_CONSTRUCTING (t)); hstate.add_flag (TYPE_NEEDS_CONSTRUCTING (t));
hstate.add_flag (TYPE_PACKED (t)); hstate.add_flag (TYPE_PACKED (t));
hstate.add_flag (TYPE_RESTRICT (t)); hstate.add_flag (TYPE_RESTRICT (t));
......
2015-06-14 Jan Hubicka <hubicka@ucw.cz>
PR ipa/66181
* lto.c (compare_tree_sccs_1): Do not compare TYPE_NO_FORCE_BLK.
2015-06-12 DJ Delorie <dj@redhat.com> 2015-06-12 DJ Delorie <dj@redhat.com>
* lto-lang.c (lto_type_for_size): Include intN types. * lto-lang.c (lto_type_for_size): Include intN types.
......
...@@ -1159,7 +1159,6 @@ compare_tree_sccs_1 (tree t1, tree t2, tree **map) ...@@ -1159,7 +1159,6 @@ compare_tree_sccs_1 (tree t1, tree t2, tree **map)
{ {
compare_values (TYPE_MODE); compare_values (TYPE_MODE);
compare_values (TYPE_STRING_FLAG); compare_values (TYPE_STRING_FLAG);
compare_values (TYPE_NO_FORCE_BLK);
compare_values (TYPE_NEEDS_CONSTRUCTING); compare_values (TYPE_NEEDS_CONSTRUCTING);
if (RECORD_OR_UNION_TYPE_P (t1)) if (RECORD_OR_UNION_TYPE_P (t1))
{ {
......
...@@ -370,7 +370,8 @@ unpack_ts_type_common_value_fields (struct bitpack_d *bp, tree expr) ...@@ -370,7 +370,8 @@ unpack_ts_type_common_value_fields (struct bitpack_d *bp, tree expr)
mode = bp_unpack_machine_mode (bp); mode = bp_unpack_machine_mode (bp);
SET_TYPE_MODE (expr, mode); SET_TYPE_MODE (expr, mode);
TYPE_STRING_FLAG (expr) = (unsigned) bp_unpack_value (bp, 1); TYPE_STRING_FLAG (expr) = (unsigned) bp_unpack_value (bp, 1);
TYPE_NO_FORCE_BLK (expr) = (unsigned) bp_unpack_value (bp, 1); /* TYPE_NO_FORCE_BLK is private to stor-layout and need
no streaming. */
TYPE_NEEDS_CONSTRUCTING (expr) = (unsigned) bp_unpack_value (bp, 1); TYPE_NEEDS_CONSTRUCTING (expr) = (unsigned) bp_unpack_value (bp, 1);
if (RECORD_OR_UNION_TYPE_P (expr)) if (RECORD_OR_UNION_TYPE_P (expr))
{ {
......
...@@ -318,7 +318,8 @@ pack_ts_type_common_value_fields (struct bitpack_d *bp, tree expr) ...@@ -318,7 +318,8 @@ pack_ts_type_common_value_fields (struct bitpack_d *bp, tree expr)
{ {
bp_pack_machine_mode (bp, TYPE_MODE (expr)); bp_pack_machine_mode (bp, TYPE_MODE (expr));
bp_pack_value (bp, TYPE_STRING_FLAG (expr), 1); bp_pack_value (bp, TYPE_STRING_FLAG (expr), 1);
bp_pack_value (bp, TYPE_NO_FORCE_BLK (expr), 1); /* TYPE_NO_FORCE_BLK is private to stor-layout and need
no streaming. */
bp_pack_value (bp, TYPE_NEEDS_CONSTRUCTING (expr), 1); bp_pack_value (bp, TYPE_NEEDS_CONSTRUCTING (expr), 1);
if (RECORD_OR_UNION_TYPE_P (expr)) if (RECORD_OR_UNION_TYPE_P (expr))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment