[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-12-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #20 from Martin Liška --- (In reply to milan.plzik from comment #19) > Created attachment 36886 [details] > Shell script, which compiles ChibiOS and indeed triggers gcc failure > > Attached script should trigger the problem when

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-12-02 Thread milan.plzik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #21 from milan.plzik at gmail dot com --- Unfortunately, I currently don't have dev setup for any non-MCU ARM platform. Also, ChibiOS non-MCU platforms, so I guess I would need to identify different test case, assuming it is possible

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-12-01 Thread milan.plzik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #19 from milan.plzik at gmail dot com --- Created attachment 36886 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36886=edit Shell script, which compiles ChibiOS and indeed triggers gcc failure Attached script should trigger

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-11-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #18 from Martin Liška --- (In reply to milan.plzik from comment #17) > with gcc 5.2.0, I still get this error when e.g. compiling ChibiOS example: > $ make > Linking build/ch.elf > lto1: internal compiler error: in

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-11-29 Thread milan.plzik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 milan.plzik at gmail dot com changed: What|Removed |Added CC||milan.plzik at gmail dot

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 Martin Liška marxin at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #15 from Martin Liška marxin at gcc dot gnu.org --- Author: marxin Date: Thu Mar 19 17:37:15 2015 New Revision: 221519 URL: https://gcc.gnu.org/viewcvs?rev=221519root=gccview=rev Log: Fix PR ipa/65380. PR ipa/65380 *

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #11 from Tobias Burnus burnus at gcc dot gnu.org --- Created attachment 35050 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35050action=edit one.o.000i.cgraph: -fdump-ipa-cgraph for the LTO step for the unpatched GCC (r221482)

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #12 from Martin Liška marxin at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #11) Created attachment 35050 [details] one.o.000i.cgraph: -fdump-ipa-cgraph for the LTO step for the unpatched GCC (r221482) (In reply

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #13 from Tobias Burnus burnus at gcc dot gnu.org --- (In reply to Martin Liška from comment #12) What's your target where you have the PR? I'm also unable to reproduce the issue. Even with BFD. Build/host/target is a CentOS 6.6

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-18 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #14 from Jan Hubicka hubicka at gcc dot gnu.org --- Ah, thanks! The patch fixed as in coment #10 is OK for mainline. We obviously should not try to do any merging of external symbols; it is pointless. We only want to calculate

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-17 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #8 from Jan Hubicka hubicka at gcc dot gnu.org --- I am with terrible internet connection and it still does not reproduce for me (I suppose difference between GNU LD and gold). It is however clear what happens, we try to add symbol's

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-17 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #9 from Jan Hubicka hubicka at gcc dot gnu.org --- please also attachg WPA dump of -fdump-ipa-cgraph. I would be interested what visibility _ZTCN7Utility2IO12GUnzipStreamE0_So/7 has.

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-17 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #10 from Jan Hubicka hubicka at gcc dot gnu.org --- Actually perhaps we manage to produce external alias of non-external symbol that also should not happen. Index: ipa-icf.c

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-16 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #7 from Jan Hubicka hubicka at ucw dot cz --- Note that it compiles if I add -fno-ipa-icf. Yeah, but it is partitioning bug; it should be able to deal with whatever aliases ICF creates. I will take a look tonight or tomorrow. Honza

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Summary|[5 Regression] LTO: ICE in |[5