Commit ad42aa96 by Jan Hubicka Committed by Jan Hubicka

* lto.c (lto_read_decls): Fix handling of INTEGER_CST.

From-SVN: r266586
parent 9c7a7155
2018-11-28 Jan Hubicka <jh@suse.cz>
* lto.c (lto_read_decls): Fix handling of INTEGER_CST.
2018-11-22 Jan Hubicka <jh@suse.cz> 2018-11-22 Jan Hubicka <jh@suse.cz>
* lto.c (cmp_type_location): Remove. * lto.c (cmp_type_location): Remove.
......
...@@ -1764,7 +1764,8 @@ lto_read_decls (struct lto_file_decl_data *decl_data, const void *data, ...@@ -1764,7 +1764,8 @@ lto_read_decls (struct lto_file_decl_data *decl_data, const void *data,
from); from);
if (len == 1 if (len == 1
&& (TREE_CODE (first) == IDENTIFIER_NODE && (TREE_CODE (first) == IDENTIFIER_NODE
|| TREE_CODE (first) == INTEGER_CST)) || (TREE_CODE (first) == INTEGER_CST
&& !TREE_OVERFLOW (first))))
continue; continue;
/* Try to unify the SCC with already existing ones. */ /* Try to unify the SCC with already existing ones. */
......
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