https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65243

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #4)
> I can reproduce the SEGV with the same stack trace with recent trunk.
> 
> Going back in time as far back as commit 8b2ddcd 7 months ago I get:
> 
> lto1: internal compiler error: Segmentation fault
> 0x10697533 crash_signal
>         /build/gcc-65243/trunk/gcc/toplev.c:337
> 0x1053f580 lto_file_decl_data_get_var_decl
>         /build/gcc-65243/trunk/gcc/lto-streamer.h:1124
> 0x1053f580 lto_input_tree_ref(lto_input_block*, data_in*, function*,
> LTO_tags)
>         /build/gcc-65243/trunk/gcc/lto-streamer-in.c:245
> 0x1053f8a3 lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned
> int)
>         /build/gcc-65243/trunk/gcc/lto-streamer-in.c:1279
> 0x101b59b3 lto_read_decls
>         /build/gcc-65243/trunk/gcc/lto/lto.c:1954
> 0x101b7e47 lto_file_finalize
>         /build/gcc-65243/trunk/gcc/lto/lto.c:2207
> 0x101b7e47 lto_create_files_from_ids
>         /build/gcc-65243/trunk/gcc/lto/lto.c:2217
> 0x101b7e47 lto_file_read
>         /build/gcc-65243/trunk/gcc/lto/lto.c:2257
> 0x101b7e47 read_cgraph_and_symbols
>         /build/gcc-65243/trunk/gcc/lto/lto.c:2960
> 0x101b7e47 lto_main()
>         /build/gcc-65243/trunk/gcc/lto/lto.c:3414
> 
> 
> ...and with commit 757abb4 the month before I get:
> 
> lto1: fatal error: LTO_tags out of range: Range is 0 to 384, value is
> 1342177279
> compilation terminated.

You can't go back in time with object files only (the IL changes quite often).

Reply via email to