[Bug lto/66835] C++ openMP test failed after switching to C++14

evstupac at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 10 21:07:00 GMT 2015


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

Stupachenko Evgeny <evstupac at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |izamyatin at gmail dot com,
                   |                            |jakub at redhat dot com

--- Comment #2 from Stupachenko Evgeny <evstupac at gmail dot com> ---
The following commit made the test compiled with "-O2 -flto -fopenmp
-std=c++14" fail with ICE:

commit 0c368492c85091d7b90cade269c45aba4cee77f5
Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Nov 14 19:41:00 2014 +0000

        * tree-ssa.dce.c (eliminate_unnecessary_stmts): Eliminate
        IFN_GOMP_SIMD_LANE without lhs as useless.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217584
138bc75d-0d04-0410-961f-82ee72b054a4


ICE details:

lto1: internal compiler error: in operator[], at vec.h:736
0xc0a220 vec<tree_node*, va_heap, vl_embed>::operator[](unsigned int)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/vec.h:736
0xc0a220 vec<tree_node*, va_heap, vl_ptr>::operator[](unsigned int)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/vec.h:1202
0xc0a220 streamer_tree_cache_get_tree
        /export/users/evstupac/gcc/git/check2/gcc/gcc/tree-streamer.h:112
0xc0a220 streamer_get_pickled_tree(lto_input_block*, data_in*)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/tree-streamer-in.c:1102
0x903af4 lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned int)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:1296
0x903dba lto_input_tree(lto_input_block*, data_in*)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:1342
0xc091df lto_input_ts_decl_minimal_tree_pointers
        /export/users/evstupac/gcc/git/check2/gcc/gcc/tree-streamer-in.c:697
0xc091df streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/tree-streamer-in.c:1043
0x9034ff lto_read_tree_1
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:1172
0x9039e4 lto_read_tree
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:1206
0x9039e4 lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned int)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:1325
0x903d20 lto_input_scc(lto_input_block*, data_in*, unsigned int*, unsigned
int*)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:1230
0x903d94 lto_input_tree(lto_input_block*, data_in*)
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:1340
0x905528 input_cfg
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:739
0x905528 input_function
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:950
0x905528 lto_read_body_or_constructor
        /export/users/evstupac/gcc/git/check2/gcc/gcc/lto-streamer-in.c:1101
0x6303f9 cgraph_node::get_body()
        /export/users/evstupac/gcc/git/check2/gcc/gcc/cgraph.c:3170



More information about the Gcc-bugs mailing list