https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98187
Bug ID: 98187 Summary: ICE in build_call_expr_loc_array, at tree.c:11554 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Using testfile c-c++-common/gomp/lastprivate-conditional-1.c with option -fopenmp-simd and versions r10/r11 : $ g++-11-20201206 -c lastprivate-conditional-1.c -fopenmp-simd during GIMPLE pass: ompexp lastprivate-conditional-1.c: In function 'void foo(int*)': lastprivate-conditional-1.c:41:11: internal compiler error: Segmentation fault 41 | #pragma omp parallel master taskloop simd lastprivate (conditional: h) | ^~~ 0xf7ce3f crash_signal ../../gcc/toplev.c:327 0x12ae048 contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) ../../gcc/tree.h:3448 0x12ae048 build_call_expr_loc_array(unsigned int, tree_node*, int, tree_node**) ../../gcc/tree.c:11554 0x1ad57e8 expand_parallel_call ../../gcc/omp-expand.c:732 0x1ad65e6 expand_omp_taskreg ../../gcc/omp-expand.c:1485 0x1adefcf expand_omp_synch ../../gcc/omp-expand.c:8453 0x1adefcf expand_omp ../../gcc/omp-expand.c:9937 0x1ae128d execute_expand_omp ../../gcc/omp-expand.c:10133