[Bug c++/87327] [8/9 Regression] Calling member functions on captured constexpr variables "is not a constant expression"

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 17 10:04:00 GMT 2018


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-09-17
                 CC|                            |jason at gcc dot gnu.org
      Known to work|                            |7.3.0
   Target Milestone|---                         |8.3
            Summary|Calling member functions on |[8/9 Regression] Calling
                   |captured constexpr          |member functions on
                   |variables "is not a         |captured constexpr
                   |constant expression"        |variables "is not a
                   |                            |constant expression"
     Ever confirmed|0                           |1
      Known to fail|                            |8.2.0, 9.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Regression started with r253266:

            PR c++/56973, DR 696 - capture constant variables only as needed.


More information about the Gcc-bugs mailing list