re PR lto/65380 ([ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition...
authorJan Hubicka <hubicka@ucw.cz>
Thu, 19 Mar 2015 17:37:15 +0000 (18:37 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 19 Mar 2015 17:37:15 +0000 (17:37 +0000)
commit257291fc895a29a88d3d68719e580edcddd9a280
tree4131d253704587c3f03d9fdd02c026b7655a4cae
parente68287df88d7afcf7f25049f45de9ae614912157
re PR lto/65380 ([ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158)

Fix PR ipa/65380.

PR ipa/65380
* ipa-icf.c (sem_function::merge): Do not merge DECL_EXTERNAL symbols.
(sem_variable::merge): Likewise.

From-SVN: r221519
gcc/ChangeLog
gcc/ipa-icf.c