public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor since r10-6876-gdc192bbdd0442f75 Date: Mon, 22 Mar 2021 22:04:13 +0000 [thread overview] Message-ID: <bug-98118-4-AiOsoPoJsf@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-98118-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 --- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Iain D Sandoe <iains@gcc.gnu.org>: https://gcc.gnu.org/g:fad6d041ebf191eecdc98e162869c2f4a6eb245f commit r10-9514-gfad6d041ebf191eecdc98e162869c2f4a6eb245f Author: Iain Sandoe <iain@sandoe.co.uk> Date: Wed Feb 17 15:13:57 2021 +0000 coroutines : Adjust constraints on when to build ctors [PR98118]. PR98118 shows that TYPE_NEEDS_CONSTRUCTING is necessary but not sufficient. Use type_build_ctor_call() instead. gcc/cp/ChangeLog: PR c++/98118 * coroutines.cc (build_co_await): Use type_build_ctor_call() to determine cases when a CTOR needs to be built. (flatten_await_stmt): Likewise. (morph_fn_to_coro): Likewise. gcc/testsuite/ChangeLog: PR c++/98118 * g++.dg/coroutines/pr98118.C: New test. (cherry picked from commit 3d9577c254003f2d18185015b75ce6e3e4af9ca2)
next prev parent reply other threads:[~2021-03-22 22:04 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 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 [this message] 2021-03-24 12:38 ` iains 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-98118-4-AiOsoPoJsf@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: linkBe 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).