https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68733
Bug ID: 68733 Summary: FAIL: libgomp.c/target-29.c (internal compiler error) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdi r/gcc/ ../../../../gcc/libgomp/testsuite/libgomp.c/target-29.c -B/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/ -B/home/dave/gnu/gcc/objdir/hppa-linux-gn u/./libgomp/.libs -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp -I../../. ./../gcc/libgomp/testsuite/../../include -I../../../../gcc/libgomp/testsuite/.. -fmessage-length=0 -fno-diagnostics-show-caret -fdiagnostics-color=never -fopenm p -O2 -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/.libs -lm -o ./ta rget-29.exe (timeout = 300) spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ ../../../../gcc/libgomp/testsuite/libgomp.c/target-29.c -B/home/dave/gn u/gcc/objdir/hppa-linux-gnu/./libgomp/ -B/home/dave/gnu/gcc/objdir/hppa-linux-gn u/./libgomp/.libs -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp -I../../. ./../gcc/libgomp/testsuite/../../include -I../../../../gcc/libgomp/testsuite/.. -fmessage-length=0 -fno-diagnostics-show-caret -fdiagnostics-color=never -fopenm p -O2 -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/.libs -lm -o ./target -29.exe ../../../../gcc/libgomp/testsuite/libgomp.c/target-29.c: In function 'foo': ../../../../gcc/libgomp/testsuite/libgomp.c/target-29.c:17:11: internal compiler error: in gimplify_scan_omp_clauses, at gimplify.c:6830 0x4e32f3 gimplify_scan_omp_clauses ../../gcc/gcc/gimplify.c:6828 0x4f3eb3 gimplify_omp_workshare ../../gcc/gcc/gimplify.c:9406 0x4d6783 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10583 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4d8753 gimplify_statement_list ../../gcc/gcc/gimplify.c:1520 0x4d8753 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10513 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4dc94f gimplify_bind_expr ../../gcc/gcc/gimplify.c:1139 0x4d8353 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10295 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4dd6c7 gimplify_body(tree_node*, bool) ../../gcc/gcc/gimplify.c:11227 0x4ddebb gimplify_function_tree(tree_node*) ../../gcc/gcc/gimplify.c:11383 0x31ffeb cgraph_node::analyze() ../../gcc/gcc/cgraphunit.c:624 0x32391f analyze_functions ../../gcc/gcc/cgraphunit.c:1079 0x324a8b symbol_table::finalize_compilation_unit() ../../gcc/gcc/cgraphunit.c:2519 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 exited with status 1 output is: ../../../../gcc/libgomp/testsuite/libgomp.c/target-29.c: In function 'foo': ../../../../gcc/libgomp/testsuite/libgomp.c/target-29.c:17:11: internal compiler error: in gimplify_scan_omp_clauses, at gimplify.c:6830 0x4e32f3 gimplify_scan_omp_clauses ../../gcc/gcc/gimplify.c:6828 0x4f3eb3 gimplify_omp_workshare ../../gcc/gcc/gimplify.c:9406 0x4d6783 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10583 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4d8753 gimplify_statement_list ../../gcc/gcc/gimplify.c:1520 0x4d8753 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10513 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4dc94f gimplify_bind_expr ../../gcc/gcc/gimplify.c:1139 0x4d8353 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10295 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4dd6c7 gimplify_body(tree_node*, bool) ../../gcc/gcc/gimplify.c:11227 0x4ddebb gimplify_function_tree(tree_node*) ../../gcc/gcc/gimplify.c:11383 0x31ffeb cgraph_node::analyze() ../../gcc/gcc/cgraphunit.c:624 0x32391f analyze_functions ../../gcc/gcc/cgraphunit.c:1079 0x324a8b symbol_table::finalize_compilation_unit() ../../gcc/gcc/cgraphunit.c:2519 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. FAIL: libgomp.c/target-29.c (internal compiler error) FAIL: libgomp.c/target-29.c (test for excess errors) Excess errors: ../../../../gcc/libgomp/testsuite/libgomp.c/target-29.c:17:11: internal compiler error: in gimplify_scan_omp_clauses, at gimplify.c:6830 0x4e32f3 gimplify_scan_omp_clauses ../../gcc/gcc/gimplify.c:6828 0x4f3eb3 gimplify_omp_workshare ../../gcc/gcc/gimplify.c:9406 0x4d6783 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10583 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4d8753 gimplify_statement_list ../../gcc/gcc/gimplify.c:1520 0x4d8753 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10513 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4dc94f gimplify_bind_expr ../../gcc/gcc/gimplify.c:1139 0x4d8353 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.c:10295 0x4db563 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.c:5598 0x4dd6c7 gimplify_body(tree_node*, bool) ../../gcc/gcc/gimplify.c:11227 0x4ddebb gimplify_function_tree(tree_node*) ../../gcc/gcc/gimplify.c:11383 0x31ffeb cgraph_node::analyze() ../../gcc/gcc/cgraphunit.c:624 0x32391f analyze_functions ../../gcc/gcc/cgraphunit.c:1079 0x324a8b symbol_table::finalize_compilation_unit() ../../gcc/gcc/cgraphunit.c:2519 UNRESOLVED: libgomp.c/target-29.c compilation failed to produce executable Similar fails: FAIL: libgomp.c++/target-15.C (internal compiler error) FAIL: libgomp.c++/target-15.C (test for excess errors) FAIL: libgomp.c++/target-16.C (internal compiler error) FAIL: libgomp.c++/target-16.C (test for excess errors) FAIL: libgomp.c++/target-17.C (internal compiler error) FAIL: libgomp.c++/target-17.C (test for excess errors) FAIL: libgomp.c++/target-19.C (internal compiler error) FAIL: libgomp.c++/target-19.C (test for excess errors) dave@mx3210:~/gnu/gcc/objdir/gcc$ ./xgcc -B./ -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa-linux-gnu Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared --enable-multiarch --enable-linker-build-id --build=hppa-linux-gnu --host=hppa-linux-gnu --target=hppa-linux-gnu --prefix=/home/dave/opt/gnu/gcc/gcc-6 --with-local-prefix=/home/dave/opt/gnu --enable-threads=posix --enable-__cxa_atexit --build=hppa-linux-gnu --enable-clocale=gnu --enable-java-gc=boehm --enable-languages=c,c++,objc,fortran,obj-c++,java,ada,lto Thread model: posix gcc version 6.0.0 20151204 (experimental) [trunk revision 231243] (GCC)