public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/86970] Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression"
       [not found] <bug-86970-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-29 20:47 ` pinskia at gcc dot gnu.org
  2021-12-08 17:26 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-29 20:47 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |9.4.0
      Known to work|                            |10.0

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

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

* [Bug c++/86970] Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression"
       [not found] <bug-86970-4@http.gcc.gnu.org/bugzilla/>
  2021-07-29 20:47 ` [Bug c++/86970] Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression" pinskia at gcc dot gnu.org
@ 2021-12-08 17:26 ` marxin at gcc dot gnu.org
  2023-08-12  5:11 ` pinskia at gcc dot gnu.org
  2023-12-15 23:33 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-12-08 17:26 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org
           Keywords|needs-bisection             |

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed with r11-1677-g0801f419440c14f6.

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

* [Bug c++/86970] Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression"
       [not found] <bug-86970-4@http.gcc.gnu.org/bugzilla/>
  2021-07-29 20:47 ` [Bug c++/86970] Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression" pinskia at gcc dot gnu.org
  2021-12-08 17:26 ` marxin at gcc dot gnu.org
@ 2023-08-12  5:11 ` pinskia at gcc dot gnu.org
  2023-12-15 23:33 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-12  5:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #4)
> Fixed with r11-1677-g0801f419440c14f6.

No, you missed that you need -std=c++17 to test with the example. That commit
just changed the default from -std=gnu++14 to -std=gnu++17  ...

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

* [Bug c++/86970] Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression"
       [not found] <bug-86970-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2023-08-12  5:11 ` pinskia at gcc dot gnu.org
@ 2023-12-15 23:33 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2023-12-15 23:33 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |10.0
                 CC|                            |ppalka at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed with -std=c++17 since r10-3661-g8e007055dd1374 apparently.

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

end of thread, other threads:[~2023-12-15 23:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-86970-4@http.gcc.gnu.org/bugzilla/>
2021-07-29 20:47 ` [Bug c++/86970] Rejected constexpr expression involving lambdas and inheritance, "use of this in a constant expression" pinskia at gcc dot gnu.org
2021-12-08 17:26 ` marxin at gcc dot gnu.org
2023-08-12  5:11 ` pinskia at gcc dot gnu.org
2023-12-15 23:33 ` ppalka 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).