[Bug c++/60474] New: [regression] Crash in tree_class_check
jacek at codeweavers dot com
gcc-bugzilla@gcc.gnu.org
Sun Mar 9 14:02:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60474
Bug ID: 60474
Summary: [regression] Crash in tree_class_check
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jacek at codeweavers dot com
Created attachment 32317
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32317&action=edit
test case
Compiling Mozilla sources with current GCC trunk causes ICE. I'm attaching a
simplified test case. I tested on i686-w64-mingw32 target, but it's unlikely to
matter. The crash happens with -O1 optimization level (and no other that I
tried).
$ i686-w64-mingw32-g++ test.i -c -O1
test.i: In function 'void FillBackgroundList(nsAutoTArray<Layer>&,
ComputedValueItem Layer::*, uint32_t) [with ComputedValueItem = unsigned char;
uint32_t = unsigned int]':
test.i:26:1: internal compiler error: Segmentation fault
FillBackgroundList(nsAutoTArray< Layer> &aLayers,
^
0xb48fcf crash_signal
../../../gcc-git/gcc/toplev.c:337
0x1061e40 tree_class_check
../../../gcc-git/gcc/tree.h:2831
0x1061e40 double_int_ext_for_comb(double_int, aff_tree*)
../../../gcc-git/gcc/tree-affine.c:44
0x10624a6 aff_combination_scale(aff_tree*, double_int)
../../../gcc-git/gcc/tree-affine.c:86
0xc658a6 difference_cost
../../../gcc-git/gcc/tree-ssa-loop-ivopts.c:3896
0xc6a4ba get_computation_cost_at
../../../gcc-git/gcc/tree-ssa-loop-ivopts.c:4176
0xc6ce8c get_computation_cost
../../../gcc-git/gcc/tree-ssa-loop-ivopts.c:4290
0xc6ce8c determine_use_iv_cost_generic
../../../gcc-git/gcc/tree-ssa-loop-ivopts.c:4317
0xc6ce8c determine_use_iv_cost
../../../gcc-git/gcc/tree-ssa-loop-ivopts.c:4911
0xc6f090 determine_use_iv_costs
../../../gcc-git/gcc/tree-ssa-loop-ivopts.c:5031
0xc6f090 tree_ssa_iv_optimize_loop
../../../gcc-git/gcc/tree-ssa-loop-ivopts.c:6849
0xc6f9b3 tree_ssa_iv_optimize()
../../../gcc-git/gcc/tree-ssa-loop-ivopts.c:6895
0xc816a7 tree_ssa_loop_ivopts
../../../gcc-git/gcc/tree-ssa-loop.c:362
0xc816a7 execute
../../../gcc-git/gcc/tree-ssa-loop.c:398
More information about the Gcc-bugs
mailing list