public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98118] [10/11 Regression][coroutines] ICE with coroutine with parameter with non-trivial destructor since r10-6876-gdc192bbdd0442f75 Date: Thu, 03 Dec 2020 13:16:37 +0000 [thread overview] Message-ID: <bug-98118-4-V6vkINvDDW@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 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-12-03 Target Milestone|--- |10.3 Summary|[coroutines] ICE with |[10/11 |coroutine with parameter |Regression][coroutines] ICE |with non-trivial destructor |with coroutine with | |parameter with non-trivial | |destructor since | |r10-6876-gdc192bbdd0442f75 Status|UNCONFIRMED |NEW CC| |iains at gcc dot gnu.org, | |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Started with r10-6876-gdc192bbdd0442f75 for: $ cat pr98118.C namespace std { inline namespace __n4861 { template <typename _Result, typename> struct coroutine_traits : _Result {}; template <typename = void> struct coroutine_handle; template <> struct coroutine_handle<> {}; template <typename> struct coroutine_handle : coroutine_handle<> {}; struct suspend_never { bool await_ready(); void await_suspend(coroutine_handle<>); void await_resume(); }; } // namespace __n4861 } // namespace std struct fire_and_forget { struct promise_type { fire_and_forget get_return_object(); std::suspend_never initial_suspend(); std::suspend_never final_suspend(); void return_void(); void unhandled_exception(); }; }; struct bug { ~bug(); }; fire_and_forget f(bug) { co_return; }
next prev parent reply other threads:[~2020-12-03 13:16 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 ` marxin at gcc dot gnu.org [this message] 2021-01-14 11:00 ` [Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor since r10-6876-gdc192bbdd0442f75 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
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-V6vkINvDDW@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).