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

--- Comment #6 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
It turns out that the original unreduced test case does not error on trunk
@r212277;
it only ICEs on gcc-4.8 and gcc-4.9 branches.

But once I creduced it using 4.9, the reduced test also ICEd on trunk.

I have just verified that the latest 4.9 @r212536 crashes like so on
non-reduced test:

gcc-svn-4_9-r212536/bin/g++ -c -std=c++11 t.ii  -O2
t.cc: In function ‘ZZZZ’:
t.cc:22:24: internal compiler error: Segmentation fault
0xb947ff crash_signal
    ../../gcc/toplev.c:337
0x952096 fold_comparison
    ../../gcc/fold-const.c:9074
0x95be35 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
    ../../gcc/fold-const.c:13563
0xbca30d cleanup_control_expr_graph
    ../../gcc/tree-cfgcleanup.c:112
0xbca30d cleanup_control_flow_bb
    ../../gcc/tree-cfgcleanup.c:187
0xbca30d cleanup_tree_cfg_bb
    ../../gcc/tree-cfgcleanup.c:630
0xbcbd48 cleanup_tree_cfg_1
    ../../gcc/tree-cfgcleanup.c:675
0xbcbd48 cleanup_tree_cfg_noloop
    ../../gcc/tree-cfgcleanup.c:731
0xbcbd48 cleanup_tree_cfg()
    ../../gcc/tree-cfgcleanup.c:786
0xaea194 execute_function_todo
    ../../gcc/passes.c:1811
0xaeaa83 execute_todo
    ../../gcc/passes.c:1887
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.


This appears to be a different ICE.
Should I reduce it?

Reply via email to