[Bug tree-optimization/59745] [4.9 Regression] internal compiler error: tree check: expected tree that contains 'typed' structure, have '<invalid tree code>' in operand_equal_p, at fold-const.c:2492
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 10 04:49:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59745
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
#0 internal_error (
gmsgid=0x14cea90 "tree check: expected tree that contains %qs structure,
have %qs in %s, at %s:%d") at /export/gnu/import/git/gcc/gcc/diagnostic.c:1127
#1 0x0000000000e69ab1 in tree_contains_struct_check_failed (
node=0x7ffff18d08e8, en=TS_TYPED,
file=0x1444888 "/export/gnu/import/git/gcc/gcc/fold-const.c", line=2492,
function=0x1449ec0 <operand_equal_p(tree_node const*, tree_node const*,
unsigned int)::__FUNCTION__> "operand_equal_p")
at /export/gnu/import/git/gcc/gcc/tree.c:9364
#2 0x00000000006af1d0 in contains_struct_check (__t=0x7ffff18d08e8,
__s=TS_TYPED, __f=0x1444888 "/export/gnu/import/git/gcc/gcc/fold-const.c",
__l=2492,
__g=0x1449ec0 <operand_equal_p(tree_node const*, tree_node const*, unsigned
int)::__FUNCTION__> "operand_equal_p")
at /export/gnu/import/git/gcc/gcc/tree.h:3033
#3 0x00000000008ac99c in operand_equal_p (arg0=0x7ffff1a41528,
arg1=0x7ffff18d08e8, flags=0)
at /export/gnu/import/git/gcc/gcc/fold-const.c:2492
Python Exception <type 'exceptions.UnicodeDecodeError'> 'utf8' codec can't
decode byte 0x8b in position 1: invalid start byte:
#4 0x00000000012f74f9 in aff_combination_add_elt (comb=0x7fffffffd360, elt=,
scale=...) at /export/gnu/import/git/gcc/gcc/tree-affine.c:145
#5 0x00000000012f7952 in aff_combination_add (comb1=0x7fffffffd360,
comb2=0x7fffffffd450) at /export/gnu/import/git/gcc/gcc/tree-affine.c:213
#6 0x00000000012f9a7c in aff_combination_expand (comb=0x7fffffffd810,
---Type <return> to continue, or q <return> to quit---
cache=0x1c68a50 <name_expansions>)
at /export/gnu/import/git/gcc/gcc/tree-affine.c:713
#7 0x00000000012f9b11 in tree_to_aff_combination_expand (
expr=<nop_expr 0x7ffff17362e0>,
type=<integer_type 0x7ffff18b31f8 ssizetype>, comb=0x7fffffffd810,
cache=0x1c68a50 <name_expansions>)
at /export/gnu/import/git/gcc/gcc/tree-affine.c:734
#8 0x0000000000c73edf in aff_combination_dr_offset (dr=0x1fab080,
offset=0x7fffffffd810) at /export/gnu/import/git/gcc/gcc/tree-predcom.c:640
#9 0x0000000000c740e8 in determine_offset (a=0x1fab080, b=0x2007d90,
off=0x7fffffffdb30) at /export/gnu/import/git/gcc/gcc/tree-predcom.c:681
#10 0x0000000000c7450e in split_data_refs_to_components (loop=0x7ffff14f16e0,
datarefs=..., depends=...)
at /export/gnu/import/git/gcc/gcc/tree-predcom.c:790
#11 0x0000000000c784f5 in tree_predictive_commoning_loop (loop=0x7ffff14f16e0)
at /export/gnu/import/git/gcc/gcc/tree-predcom.c:2444
#12 0x0000000000c788ab in tree_predictive_commoning ()
at /export/gnu/import/git/gcc/gcc/tree-predcom.c:2551
#13 0x0000000000c7891d in run_tree_predictive_commoning ()
at /export/gnu/import/git/gcc/gcc/tree-predcom.c:2572
#14 0x0000000000c78987 in (anonymous namespace)::pass_predcom::execute (
this=0x1cc1190) at /export/gnu/import/git/gcc/gcc/tree-predcom.c:2607
#15 0x0000000000ad1072 in execute_one_pass (
---Type <return> to continue, or q <return> to quit---
pass=<opt_pass* 0x1cc1190 "pcom"(121)>)
at /export/gnu/import/git/gcc/gcc/passes.c:2226
#16 0x0000000000ad128b in execute_pass_list (
pass=<opt_pass* 0x1cc1190 "pcom"(121)>)
at /export/gnu/import/git/gcc/gcc/passes.c:2279
#17 0x0000000000ad12bc in execute_pass_list (pass=
<opt_pass* 0x1cc09b0 "loop"(101)>)
at /export/gnu/import/git/gcc/gcc/passes.c:2280
#18 0x0000000000ad12bc in execute_pass_list (
pass=<opt_pass* 0x1cbf8d0 "*all_optimizations"(-1)>)
at /export/gnu/import/git/gcc/gcc/passes.c:2280
#19 0x00000000007acfec in expand_function (
node=<cgraph_node* 0x7ffff1730000 "trmd">)
at /export/gnu/import/git/gcc/gcc/cgraphunit.c:1764
#20 0x00000000007ad5e0 in expand_all_functions ()
at /export/gnu/import/git/gcc/gcc/cgraphunit.c:1898
#21 0x00000000007adfac in compile ()
at /export/gnu/import/git/gcc/gcc/cgraphunit.c:2242
#22 0x00000000007ae125 in finalize_compilation_unit ()
at /export/gnu/import/git/gcc/gcc/cgraphunit.c:2319
#23 0x0000000000a1dbcd in write_global_declarations ()
at /export/gnu/import/git/gcc/gcc/langhooks.c:323
#24 0x0000000000667550 in gfc_write_global_declarations ()
---Type <return> to continue, or q <return> to quit---
at /export/gnu/import/git/gcc/gcc/fortran/f95-lang.c:262
#25 0x0000000000bbc1d8 in compile_file ()
at /export/gnu/import/git/gcc/gcc/toplev.c:562
#26 0x0000000000bbe324 in do_compile ()
at /export/gnu/import/git/gcc/gcc/toplev.c:1914
#27 0x0000000000bbe48f in toplev_main (argc=19, argv=0x7fffffffe088)
at /export/gnu/import/git/gcc/gcc/toplev.c:1990
#28 0x000000000133f87c in main (argc=19, argv=0x7fffffffe088)
at /export/gnu/import/git/gcc/gcc/main.c:36
(gdb)
More information about the Gcc-bugs
mailing list