http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58942
Bug ID: 58942 Summary: cilkplus internal compiler error: tree check __sec_reduce_max_ind Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tprince at computer dot org Created attachment 31123 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31123&action=edit pre-processed source gcc -O2 -ftree-vectorize -fopenmp -std=c99 -funroll-loops --param max-unroll-times=4 -c -fcilkplus s315.i s315.c: In function ‘s315_’: s315.c:89:5: internal compiler error: tree check: accessed operand 2 of indirect_ref with 1 operands in fix_builtin_array_notation_fn, at c/c-array-notation.c:477 } ^ 0xbe4721 tree_operand_check_failed(int, tree_node const*, char const*, int, char const*) ../../gcc/tree.c:9507 0x5e09bf tree_operand_check ../../gcc/tree.h:3127 0x5e09bf fix_builtin_array_notation_fn ../../gcc/c/c-array-notation.c:477 0x5e28dd build_array_notation_expr(unsigned int, tree_node*, tree_node*, tree_code, unsigned int, tree_node*, tree_node*) ../../gcc/c/c-array-notation.c:640 0x5e5478 expand_array_notation_exprs(tree_node*) ../../gcc/c/c-array-notation.c:1275 0x5e5108 expand_array_notation_exprs(tree_node*) ../../gcc/c/c-array-notation.c:1263 0x5d91eb c_parser_compound_statement ../../gcc/c/c-parser.c:4174 0x5d7267 c_parser_statement_after_labels ../../gcc/c/c-parser.c:4570 0x5db593 c_parser_c99_block_statement ../../gcc/c/c-parser.c:4757 0x5dbb36 c_parser_for_statement ../../gcc/c/c-parser.c:5219 0x5d76b3 c_parser_statement_after_labels ../../gcc/c/c-parser.c:4588 0x5d8926 c_parser_compound_statement_nostart ../../gcc/c/c-parser.c:4338 0x5d917e c_parser_compound_statement ../../gcc/c/c-parser.c:4170 0x5da0fa c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:1810 0x5dd995 c_parser_external_declaration ../../gcc/c/c-parser.c:1380 0x5de439 c_parser_translation_unit ../../gcc/c/c-parser.c:1267 0x5de439 c_parse_file() ../../gcc/c/c-parser.c:13297 0x62e753 c_common_parse_file() ../../gcc/c-family/c-opts.c:1046 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.