public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103868] New: ICE at end of coroutine when using asio
@ 2021-12-30 14:55 ashenglandelbro at protonmail dot com
  2021-12-30 14:59 ` [Bug c++/103868] " ashenglandelbro at protonmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ashenglandelbro at protonmail dot com @ 2021-12-30 14:55 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-29 10:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30 14:55 [Bug c++/103868] New: ICE at end of coroutine when using asio ashenglandelbro at protonmail dot com
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

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).