Thread overview
[Bug 88] -flto option causes internal compiler error
Jan 01, 2014
Iain Buclaw
Jul 12, 2014
Iain Buclaw
December 31, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=88

--- Comment #1 from secondaryaccount@web.de 2013-12-31 22:42:24 GMT ---
I tried to compile the example given in bug 61 and got the same error with a very similar stacktrace, so it's probably related.

lto1: interner Compiler-Fehler: in streamer_get_pickled_tree, bei
tree-streamer-in.c:1050
0x84dfc1f streamer_get_pickled_tree(lto_input_block*, data_in*)
    ../../gcc-4.8.2/gcc/tree-streamer-in.c:1049
0x84df6e4 lto_input_ts_type_common_tree_pointers
    ../../gcc-4.8.2/gcc/tree-streamer-in.c:768
0x84df6e4 streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)
    ../../gcc-4.8.2/gcc/tree-streamer-in.c:997
0x82f7ce5 lto_read_tree
    ../../gcc-4.8.2/gcc/lto-streamer-in.c:1015
0x82f7ce5 lto_input_tree(lto_input_block*, data_in*)
    ../../gcc-4.8.2/gcc/lto-streamer-in.c:1082
0x84df2bb lto_input_ts_common_tree_pointers
    ../../gcc-4.8.2/gcc/tree-streamer-in.c:599
0x84df2bb streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)
    ../../gcc-4.8.2/gcc/tree-streamer-in.c:970
0x82f7ce5 lto_read_tree
    ../../gcc-4.8.2/gcc/lto-streamer-in.c:1015
0x82f7ce5 lto_input_tree(lto_input_block*, data_in*)
    ../../gcc-4.8.2/gcc/lto-streamer-in.c:1082
0x81166d6 lto_read_decls
    ../../gcc-4.8.2/gcc/lto/lto.c:2086
0x81166d6 lto_file_finalize
    ../../gcc-4.8.2/gcc/lto/lto.c:2339
0x81166d6 lto_create_files_from_ids
    ../../gcc-4.8.2/gcc/lto/lto.c:2349
0x81166d6 lto_file_read
    ../../gcc-4.8.2/gcc/lto/lto.c:2389
0x81166d6 read_cgraph_and_symbols
    ../../gcc-4.8.2/gcc/lto/lto.c:2964
0x81166d6 lto_main()
    ../../gcc-4.8.2/gcc/lto/lto.c:3375

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
January 01, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=88

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> 2014-01-01 12:16:56 GMT ---
It is indeed related. It's not immediately obvious why the LTO frontend ICE 's, but a start would be to get the library built using -flto and see if the same problem occurs.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
July 12, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=88

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> ---
https://github.com/D-Programming-GDC/GDC/commit/28d98308d02942984ead0cba03ff043eed26a8ad

-- 
You are receiving this mail because:
You are watching all bug changes.