public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/88694] constexpr isn't  captured correctly in lambda
       [not found] <bug-88694-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-05  5:23 ` pinskia at gcc dot gnu.org
  2021-08-05 10:25 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-05  5:23 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |10.3.0
      Known to work|                            |11.1.0

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Seems fixed in GCC 11+.

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

* [Bug c++/88694] constexpr isn't  captured correctly in lambda
       [not found] <bug-88694-4@http.gcc.gnu.org/bugzilla/>
  2021-08-05  5:23 ` [Bug c++/88694] constexpr isn't captured correctly in lambda pinskia at gcc dot gnu.org
@ 2021-08-05 10:25 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2021-08-05 10:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed by r11-88:

    c++: Avoid inconsistency in lambda fn's this pointer name [pr94807]

            * coroutines.cc (morph_fn_to_coro): Just check for
            closure_identifier.
            * pt.c (tsubst_function_decl): Update lambda fn's this_ptr name.


We could add the testcase from comment 4.

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

end of thread, other threads:[~2021-08-05 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-88694-4@http.gcc.gnu.org/bugzilla/>
2021-08-05  5:23 ` [Bug c++/88694] constexpr isn't captured correctly in lambda pinskia at gcc dot gnu.org
2021-08-05 10:25 ` 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).