public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/99021] New: coroutine_handle<_Promise>::from_address() should be noexcept
@ 2021-02-09 10:27 redbeard0531 at gmail dot com
  2021-02-09 10:42 ` [Bug libstdc++/99021] " redbeard0531 at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: redbeard0531 at gmail dot com @ 2021-02-09 10:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99021
           Summary: coroutine_handle<_Promise>::from_address() should be
                    noexcept
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redbeard0531 at gmail dot com
  Target Milestone: ---

While it isn't required by the standard, it seems odd that 
coroutine_handle<void>::from_address() is noexcept while the non-specialized
version isn't when they are the same code. This would also help with
clang/libstdc++ compatibility because they currently check for noexcept of
from_address() as part of validating
https://eel.is/c++draft/dcl.fct.def.coroutine#15 (I'll be filing a bug with
them about that shortly since that is leaking an internal compiler
implementation detail).

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

end of thread, other threads:[~2021-02-09 14:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 10:27 [Bug libstdc++/99021] New: coroutine_handle<_Promise>::from_address() should be noexcept redbeard0531 at gmail dot com
2021-02-09 10:42 ` [Bug libstdc++/99021] " redbeard0531 at gmail dot com
2021-02-09 12:32 ` cvs-commit at gcc dot gnu.org
2021-02-09 13:42 ` redbeard0531 at gmail dot com
2021-02-09 14:26 ` cvs-commit at gcc dot gnu.org
2021-02-09 14:44 ` redi 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).