http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59745
Bug ID: 59745 Summary: [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 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: jakub at redhat dot com On Linux/x86-64, r206384 caused: gfortran -c -o ccaux.o -O3 -funroll-loops -ffast-math -ffixed-form ccaux.f ccaux.f: In function 'trmd': ccaux.f:846:0: internal compiler error: tree check: expected tree that contains 'typed' structure, have '<invalid tree code>' in operand_equal_p, at fold-const.c:2492 SUBROUTINE TRMD(VP,TI,NU,NO,ID) ^ 0xc151a4 tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*) ../../src-trunk/gcc/tree.c:9364 0x7b01c4 contains_struct_check ../../src-trunk/gcc/tree.h:3031 0x7b01c4 operand_equal_p(tree_node const*, tree_node const*, unsigned int) ../../src-trunk/gcc/fold-const.c:2492 0xf16ce6 aff_combination_add_elt(aff_tree*, tree_node*, double_int) ../../src-trunk/gcc/tree-affine.c:145 0xf17102 aff_combination_add(aff_tree*, aff_tree*) ../../src-trunk/gcc/tree-affine.c:213 0xf186a2 aff_combination_expand(aff_tree*, pointer_map_t**) ../../src-trunk/gcc/tree-affine.c:713 0xa89041 aff_combination_dr_offset ../../src-trunk/gcc/tree-predcom.c:640 0xa8915f determine_offset ../../src-trunk/gcc/tree-predcom.c:681 0xa8dc80 split_data_refs_to_components ../../src-trunk/gcc/tree-predcom.c:790 0xa8dc80 tree_predictive_commoning_loop ../../src-trunk/gcc/tree-predcom.c:2444 0xa8f3a7 tree_predictive_commoning() ../../src-trunk/gcc/tree-predcom.c:2551 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. specmake[3]: *** [ccaux.o] Error 1 specmake[3]: *** Waiting for unfinished jobs....