public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ashenglandelbro at protonmail dot com" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-103868-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            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=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl
--with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit
--enable-cet=auto --enable-checking=release --enable-clocale=gnu
--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=posix --disable-libssp --disable-libstdcxx-pch
--disable-libunwind-exceptions --disable-werror
gdc_include_dir=/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=gnu++20 -MD -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 ‘void
{anonymous}::_ZN12_GLOBAL__N_122client_ws_handler_coroILb0EEEN5boost4asio9awaitableIvNS2_15any_io_executorEEENS1_6system10error_codeESt10shared_ptrIN6malloy9websocket10connectionILb1EEEE.actor({anonymous}::client_ws_handler_coro<false>(malloy::error_code,
std::shared_ptr<malloy::websocket::connection<true>
>)::_ZN12_GLOBAL__N_122client_ws_handler_coroILb0EEEN5boost4asio9awaitableIvNS2_15any_io_executorEEENS1_6system10error_codeESt10shared_ptrIN6malloy9websocket10connectionILb1EEEE.frame*)’:
/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 <https://bugs.archlinux.org/> for instructions.

-----------
I have attached the .ii file generated. Please let me know if more information
is needed

             reply	other threads:[~2021-12-30 14:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30 14:55 ashenglandelbro at protonmail dot com [this message]
2021-12-30 14:59 ` [Bug c++/103868] " ashenglandelbro at protonmail dot com
2022-01-03  9:43 ` marxin at gcc dot gnu.org
2022-01-04  8:31 ` marxin at gcc dot gnu.org
2022-01-04  8:32 ` marxin at gcc dot gnu.org
2022-04-18 14:05 ` iains at gcc dot gnu.org
2022-04-28 12:51 ` cvs-commit at gcc dot gnu.org
2022-04-28 12:58 ` iains at gcc dot gnu.org
2023-05-29 10:06 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-103868-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).