[Bug c++/93458] ICE using coroutines

2020-02-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93458

Iain Sandoe  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Iain Sandoe  ---
bah, I messed up the commit message, should be fixed by:

https://gcc.gnu.org/ml/gcc-cvs/2020-02/msg00063.html

[Bug c++/93458] ICE using coroutines

2020-01-28 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93458

--- Comment #4 from Tom Tromey  ---
> BTW, did you include  ?
> 
> (FAOD: it would still be broken if you did, but ISTM we might at some point
> add a hint that if the traits can't be found, you probably forgot that).

The code was exactly as written, though IIRC including 
still yielded the ICE.

[Bug c++/93458] ICE using coroutines

2020-01-28 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93458

--- Comment #3 from Iain Sandoe  ---
(In reply to Tom Tromey from comment #1)

> I think it's invalid.

Yes, it's invalid, unfortunately, one cannot write a C++20 coroutine in such a
simple form; they need supporting methods that are found through the class type
they instantiate.

BTW, did you include  ?

(FAOD: it would still be broken if you did, but ISTM we might at some point add
a hint that if the traits can't be found, you probably forgot that).

[Bug c++/93458] ICE using coroutines

2020-01-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93458

Martin Liška  changed:

   What|Removed |Added

Version|unknown |10.0
   Target Milestone|--- |10.0

[Bug c++/93458] ICE using coroutines

2020-01-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93458

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2020-01-28
 CC||marxin at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |iains at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #2 from Martin Liška  ---
Confirmed, started with the introduction of the feature in
r10-6063-g49789fd08378e3ff.

[Bug c++/93458] ICE using coroutines

2020-01-27 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93458

Tom Tromey  changed:

   What|Removed |Added

   Keywords||ice-on-invalid-code

--- Comment #1 from Tom Tromey  ---
I think it's invalid.