[Bug lto/65380] [5 Regression] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 16 07:52:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #4)
> Hmm, this one compiles just fine for me with today mainline. Does the
> problem still reproduce for you? Can you possibly dump out node->debug()
> and c?
Unfortunately, it still fails for me with today's r221445 (for the very first
invocation of line lto-partition.c:158). For
157 gcc_assert (c != SYMBOL_EXTERNAL
158 && (c == SYMBOL_DUPLICATE || !symbol_partitioned_p (node)));
Running
lto1 -quiet -dumpbase one.o -mtune=generic -march=x86-64 -mtune=generic
-march=x86-64 -auxbase one -O2 -version -fexceptions -fmath-errno
-fsigned-zeros -ftrapping-math -fno-trapv -fno-openmp -fno-openacc
-fltrans-output-list=/tmp/ccX5yPa0.ltrans.out -fwpa -fresolution=two.res
@/tmp/ccYbGLe0
in the debugger gives:
(gdb) p c
$1 = SYMBOL_EXTERNAL
(gdb) p node->debug()
_ZTCSt14basic_ofstreamIcSt11char_traitsIcEE0_So/188
(_ZTCSt14basic_ofstreamIcSt11char_traitsIcEE0_So) @0x7ffff1d38880
Type: variable definition analyzed alias
Visibility: externally_visible external public visibility_specified
visibility:hidden virtual artificial
References: _ZTCN7Utility2IO12GUnzipStreamE0_So/7 (alias)
Referring: _ZTTSt14basic_ofstreamIcSt11char_traitsIcEE/178
(addr)_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE/178 (addr)
Availability: available
Varpool flags: read-only const-value-known
$2 = void
More information about the Gcc-bugs
mailing list