From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AA1193858409; Thu, 30 Dec 2021 14:55:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA1193858409 From: "ashenglandelbro at protonmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/103868] New: ICE at end of coroutine when using asio Date: Thu, 30 Dec 2021 14:55:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ashenglandelbro at protonmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2021 14:55:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103868 Bug ID: 103868 Summary: ICE at end of coroutine when using asio Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ashenglandelbro at protonmail dot com Target Milestone: --- gcc info: Configured with: /build/gcc/src/gcc/configure --prefix=3D/usr --libdir=3D/u= sr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/in= fo --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=3Dgnu --with-system-zlib --enable-__cxa_atexit --enable-cet=3Dauto --enable-checking=3Drelease --enable-clocale=3Dgnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build= -id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=3Dposix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=3D/usr/include/dlang/gdc Target: x86_64-pc-linux-gnu gcc version 11.1.0 (GCC) ------------ error message: /usr/bin/g++ -DBOOST_BEAST_USE_STD_STRING_VIEW -DFMT_LOCALE -DMALLOY_EXPORT_STATIC_DEFINE -DMALLOY_FEATURE_HTML -DMALLOY_FEATURE_TLS -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -I/home/ash/sources/malloy/test/3rdparty/doctest -I/home/ash/sources/malloy= /lib -I/home/ash/sources/malloy/lib/malloy/.. -I/home/ash/sources/malloy/build/_deps/spdlog-src/include -I/home/ash/sources/malloy/build/_deps/fmt-src/include -g -std=3Dgnu++20 -M= D -MT test/CMakeFiles/malloy-tests.dir/test_suites/components/websockets.cpp.o -MF test/CMakeFiles/malloy-tests.dir/test_suites/components/websockets.cpp.o.d = -o test/CMakeFiles/malloy-tests.dir/test_suites/components/websockets.cpp.o -c /home/ash/sources/malloy/test/test_suites/components/websockets.cpp during RTL pass: expand /home/ash/sources/malloy/test/test_suites/components/websockets.cpp: In function =E2=80=98void {anonymous}::_ZN12_GLOBAL__N_122client_ws_handler_coroILb0EEEN5boost4asio9a= waitableIvNS2_15any_io_executorEEENS1_6system10error_codeESt10shared_ptrIN6= malloy9websocket10connectionILb1EEEE.actor({anonymous}::client_ws_handler_c= oro(malloy::error_code, std::shared_ptr >)::_ZN12_GLOBAL__N_122client_ws_handler_coroILb0EEEN5boost4asio9awaitableI= vNS2_15any_io_executorEEENS1_6system10error_codeESt10shared_ptrIN6malloy9we= bsocket10connectionILb1EEEE.frame*)=E2=80=99: /home/ash/sources/malloy/test/test_suites/components/websockets.cpp:51:5: internal compiler error: in make_decl_rtl, at varasm.c:1422 51 | } | ^ 0x1797368 internal_error(char const*, ...) ???:0 0x67f8f9 fancy_abort(char const*, int, char const*) ???:0 0xa1cdef expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ???:0 0xa1bad9 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ???:0 0xa26f9f store_expr(tree_node*, rtx_def*, int, bool, bool) ???:0 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ----------- I have attached the .ii file generated. Please let me know if more informat= ion is needed=