projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7a715
)
* lto.c (lto_read_decls): Fix handling of INTEGER_CST.
author
Jan Hubicka
<jh@suse.cz>
Wed, 28 Nov 2018 20:36:13 +0000
(21:36 +0100)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Wed, 28 Nov 2018 20:36:13 +0000
(20:36 +0000)
From-SVN: r266586
gcc/lto/ChangeLog
patch
|
blob
|
history
gcc/lto/lto.c
patch
|
blob
|
history
diff --git
a/gcc/lto/ChangeLog
b/gcc/lto/ChangeLog
index 56f8a9867a97657d966c1ff9c0a8a1d289e65735..ca998df8b73571f742d2f9abafe6b8875c60c7ec 100644
(file)
--- a/
gcc/lto/ChangeLog
+++ b/
gcc/lto/ChangeLog
@@
-1,3
+1,7
@@
+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>
* lto.c (cmp_type_location): Remove.
diff --git
a/gcc/lto/lto.c
b/gcc/lto/lto.c
index a5195fdd5570b318658e61f1ca3eb359850b988c..f838dcfc64c0274dd306205fcfd6cf088b568862 100644
(file)
--- a/
gcc/lto/lto.c
+++ b/
gcc/lto/lto.c
@@
-1764,7
+1764,8
@@
lto_read_decls (struct lto_file_decl_data *decl_data, const void *data,
from);
if (len == 1
&& (TREE_CODE (first) == IDENTIFIER_NODE
- || TREE_CODE (first) == INTEGER_CST))
+ || (TREE_CODE (first) == INTEGER_CST
+ && !TREE_OVERFLOW (first))))
continue;
/* Try to unify the SCC with already existing ones. */