public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98118] New: [coroutines] ICE with coroutine with parameter with non-trivial destructor
@ 2020-12-03 12:13 xzlsmc at gmail dot com
  2020-12-03 12:15 ` [Bug c++/98118] " xzlsmc at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: xzlsmc at gmail dot com @ 2020-12-03 12:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98118
           Summary: [coroutines] ICE with coroutine with parameter with
                    non-trivial destructor
           Product: gcc
           Version: 10.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xzlsmc at gmail dot com
  Target Milestone: ---

Created attachment 49670
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49670&action=edit
source

See attached source and ii files.
Compiler arguments: `-v -save-temps -std=c++20 -fcoroutines -O1 -S -c bug.cc -o
bug.S`
```
bug.cc: In function ‘fire_and_forget f(bug)’:
bug.cc:17:1: internal compiler error: in cp_build_addr_expr_1, at
cp/typeck.c:6338
   17 | }
      | ^
```
This should not be a duplicate of #93642, #95616 or #96141.

`gcc -v`:
```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap
--enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --enable-multilib
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array --with-isl --enable-offload-targets=nvptx-none
--without-cuda-driver --enable-gnu-indirect-function --enable-cet
--with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20201125 (Red Hat 10.2.1-9) (GCC)
```

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

end of thread, other threads:[~2021-03-24 12:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 12:13 [Bug c++/98118] New: [coroutines] ICE with coroutine with parameter with non-trivial destructor xzlsmc at gmail dot com
2020-12-03 12:15 ` [Bug c++/98118] " xzlsmc at gmail dot com
2020-12-03 12:15 ` xzlsmc at gmail dot com
2020-12-03 13:16 ` [Bug c++/98118] [10/11 Regression][coroutines] ICE with coroutine with parameter with non-trivial destructor since r10-6876-gdc192bbdd0442f75 marxin at gcc dot gnu.org
2021-01-14 11:00 ` [Bug c++/98118] [coroutines] " rguenth at gcc dot gnu.org
2021-03-05 16:59 ` cvs-commit at gcc dot gnu.org
2021-03-13 12:54 ` iains at gcc dot gnu.org
2021-03-22 22:04 ` cvs-commit at gcc dot gnu.org
2021-03-24 12:38 ` iains 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).