https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99137

            Bug ID: 99137
           Summary: ICE in gimplify_scan_omp_clauses, at gimplify.c:9833
           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: ---

Affects versions down to at least r5 :


$ cat z1.c
void f ()
{
  #pragma acc parallel async(1,2)
  ;
}


$ gcc-11-20210214 -c z1.c -fopenacc
z1.c: In function 'f':
z1.c:3:31: internal compiler error: in gimplify_expr, at gimplify.c:14854
    3 |   #pragma acc parallel async(1,2)
      |                               ^
0x8fe7b1 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14854
0x8f5ecf gimplify_scan_omp_clauses
        ../../gcc/gimplify.c:9833
0x8fa488 gimplify_omp_workshare
        ../../gcc/gimplify.c:13248
0x8fb1ba gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14599
0x8fe8d8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0x8fee31 gimplify_bind_expr
        ../../gcc/gimplify.c:1421
0x8fc9d2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14271
0x8fe8d8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0x8ff8fd gimplify_body(tree_node*, bool)
        ../../gcc/gimplify.c:15306
0x8ffd5f gimplify_function_tree(tree_node*)
        ../../gcc/gimplify.c:15460
0x79cb67 cgraph_node::analyze()
        ../../gcc/cgraphunit.c:670
0x79f4a7 analyze_functions
        ../../gcc/cgraphunit.c:1233
0x79fdfd symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2511

Reply via email to