[Bug c++/93343] New: coroutine ICE

euloanty at live dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 20 23:12:00 GMT 2020


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

            Bug ID: 93343
           Summary: coroutine  ICE
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: euloanty at live dot com
  Target Milestone: ---

g++ -o coroutine_epoll coroutine_epoll.cc -Ofast -std=c++2a -s -fcoroutines

coroutine_epoll.cc: In function ‘void
_Z6listenRN7fast_io16basic_tcp_serverILb1EEE.actor(listen(fast_io::async_tcp_server&)::_Z6listenRN7fast_io16basic_tcp_serverILb1EEE.frame*)’:
coroutine_epoll.cc:38:2: internal compiler error: in gimplify_expr, at
gimplify.c:14378
   38 |  co_await awaitable(acc);
      |  ^~~~~~~~
0x7619c8 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gcc/gimplify.c:14378
0xd924cb gimplify_cleanup_point_expr
        ../../gcc/gcc/gimplify.c:6822
0xd7a395 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gcc/gimplify.c:13973
0xd7cee6 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gcc/gimplify.c:6822
0xd78ce4 gimplify_and_add(tree_node*, gimple**)
        ../../gcc/gcc/gimplify.c:486
0xd78ce4 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gcc/gimplify.c:13932
0xd7cee6 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gcc/gimplify.c:6822
0xd7a7ab gimplify_statement_list
        ../../gcc/gcc/gimplify.c:1869
0xd7a7ab gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gcc/gimplify.c:14025
0xd7cee6 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gcc/gimplify.c:6822
0xd7dcbb gimplify_bind_expr
        ../../gcc/gcc/gimplify.c:1424
0xd7a3d4 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gcc/gimplify.c:13782
0xd91aa5 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gcc/gimplify.c:6822
0xd91aa5 gimplify_body(tree_node*, bool)
        ../../gcc/gcc/gimplify.c:14830
0xd91ea3 gimplify_function_tree(tree_node*)
        ../../gcc/gcc/gimplify.c:14974
0xbdc377 cgraph_node::analyze()
        ../../gcc/gcc/cgraphunit.c:669
0xbdee6f analyze_functions
        ../../gcc/gcc/cgraphunit.c:1210
0xbdfa32 symbol_table::finalize_compilation_unit()
        ../../gcc/gcc/cgraphunit.c:2956
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.


More information about the Gcc-bugs mailing list