This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/64462] ICE while compiling lambda using local constexpr reference variable


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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |accepts-invalid
             Status|RESOLVED                    |ASSIGNED
                 CC|                            |nathan at gcc dot gnu.org
         Resolution|FIXED                       |---
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org

--- Comment #5 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
I'm reopening this.  The original testcase is different.  The one on the
testsuite is invalid as it has no capture default.  But we capture the
constexpr 'y'.

See bug 83160

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]