[Bug middle-end/57541] [Cilkplus]: internal compiler error: in gimplify_expr, at gimplify.c:7809
anna.m.tikhonova at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jun 10 14:28:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57541
--- Comment #7 from Anna <anna.m.tikhonova at gmail dot com> ---
(In reply to Anna from comment #6)
> Created attachment 30285 [details]
> Another test case reproducing the original thing
And another issue in slightly changed test case from this attachment:
int A[10];
int main () {
int a;
a = __sec_reduce_add ();
}
$ gcc -fcilkplus 1.c
1.c: In function 'main':
1.c:6:1: internal compiler error: tree check: accessed operand 4 of call_expr
with 3 operands in fix_builtin_array_notation_fn, at c/c-array-notation.c:158
}
^
0xaf30d7 tree_operand_check_failed(int, tree_node const*, char const*, int,
char const*)
/home/anna/trunk/gcc/tree.c:9258
0x54a7e6 tree_operand_check
/home/anna/trunk/gcc/tree.h:4125
0x54a7e6 fix_builtin_array_notation_fn
/home/anna/trunk/gcc/c/c-array-notation.c:158
0x5511ec build_array_notation_expr(unsigned int, tree_node*, tree_node*,
tree_code, unsigned int, tree_node*, tree_node*)
/home/anna/trunk/gcc/c/c-array-notation.c:731
0x555218 expand_array_notation_exprs(tree_node*)
/home/anna/trunk/gcc/c/c-array-notation.c:2311
0x554e50 expand_array_notation_exprs(tree_node*)
/home/anna/trunk/gcc/c/c-array-notation.c:2299
0x543d43 c_parser_compound_statement
/home/anna/trunk/gcc/c/c-parser.c:4098
0x544bfa c_parser_declaration_or_fndef
/home/anna/trunk/gcc/c/c-parser.c:1758
0x5499db c_parser_external_declaration
/home/anna/trunk/gcc/c/c-parser.c:1363
0x54a446 c_parser_translation_unit
/home/anna/trunk/gcc/c/c-parser.c:1251
0x54a446 c_parse_file()
/home/anna/trunk/gcc/c/c-parser.c:11000
0x59c024 c_common_parse_file()
/home/anna/trunk/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.
See <http://gcc.gnu.org/bugs.html> for instructions.
Compiler used to get Comment-5, Comment-6 and this issue is:
Target: x86_64-unknown-linux-gnu
Configured with: /home/anna/trunk/configure --with-arch=corei7
--with-cpu=corei7 --enable-clocale=gnu --with-system-zlib --enable-shared
--with-demangler-in-ld --enable-cloog-backend=isl --with-fpmath=sse
--enable-languages=c,c++,fortran,java,lto
Thread model: posix
gcc version 4.9.0 20130608 (experimental) (GCC)
More information about the Gcc-bugs
mailing list