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

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 22 12:34:00 GMT 2017


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


More information about the Gcc-bugs mailing list