public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/94794] New: coroutines: Support is needed for symmetric transter on targets without arbitrary indirect tail-calls
@ 2020-04-27 10:21 iains at gcc dot gnu.org
  2020-04-27 10:26 ` [Bug c++/94794] " iains at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: iains at gcc dot gnu.org @ 2020-04-27 10:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94794
           Summary: coroutines: Support is needed for symmetric transter
                    on targets without arbitrary indirect tail-calls
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
  Target Milestone: ---

For symmetric transfers to work with C++20 coroutines, it is
currently necessary to tail call the callee coroutine from resume
method of the caller coroutine.

Unfortunately, several targets have ABI constraints that prevent
arbitrary indirect tail-calls which means that we do not have a FE
design that works consistently (or at all for O < 2).

For some targets, where the tail calls are supported, it's possible
to mandate their use for O0 etc, but we'd need a target hook to test
this - the existing "ok for sib call" is not usable in the FE.

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

* [Bug c++/94794] coroutines: Support is needed for symmetric transter on targets without arbitrary indirect tail-calls
  2020-04-27 10:21 [Bug c++/94794] New: coroutines: Support is needed for symmetric transter on targets without arbitrary indirect tail-calls iains at gcc dot gnu.org
@ 2020-04-27 10:26 ` iains at gcc dot gnu.org
  2021-04-27 11:38 ` jakub at gcc dot gnu.org
  2021-07-28  7:04 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: iains at gcc dot gnu.org @ 2020-04-27 10:26 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-04-27
           Keywords|                            |ABI

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

* [Bug c++/94794] coroutines: Support is needed for symmetric transter on targets without arbitrary indirect tail-calls
  2020-04-27 10:21 [Bug c++/94794] New: coroutines: Support is needed for symmetric transter on targets without arbitrary indirect tail-calls iains at gcc dot gnu.org
  2020-04-27 10:26 ` [Bug c++/94794] " iains at gcc dot gnu.org
@ 2021-04-27 11:38 ` jakub at gcc dot gnu.org
  2021-07-28  7:04 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-27 11:38 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.0                        |11.2

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.1 has been released, retargeting bugs to GCC 11.2.

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

* [Bug c++/94794] coroutines: Support is needed for symmetric transter on targets without arbitrary indirect tail-calls
  2020-04-27 10:21 [Bug c++/94794] New: coroutines: Support is needed for symmetric transter on targets without arbitrary indirect tail-calls iains at gcc dot gnu.org
  2020-04-27 10:26 ` [Bug c++/94794] " iains at gcc dot gnu.org
  2021-04-27 11:38 ` jakub at gcc dot gnu.org
@ 2021-07-28  7:04 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-28  7:04 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.2                        |---

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

end of thread, other threads:[~2021-07-28  7:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27 10:21 [Bug c++/94794] New: coroutines: Support is needed for symmetric transter on targets without arbitrary indirect tail-calls iains at gcc dot gnu.org
2020-04-27 10:26 ` [Bug c++/94794] " iains at gcc dot gnu.org
2021-04-27 11:38 ` jakub at gcc dot gnu.org
2021-07-28  7:04 ` rguenth 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).