[Bug c++/91891] New: std::function with lambda default initializer in aggregate construction causes ICE

dascandy at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 25 06:16:00 GMT 2019


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

            Bug ID: 91891
           Summary: std::function with lambda default initializer in
                    aggregate construction causes ICE
           Product: gcc
           Version: 7.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dascandy at gmail dot com
  Target Milestone: ---

https://godbolt.org/z/_XP2No

Confirmed working on 6.x, 8.x and 9.x, but broken on all 7.x available on
Godbolt. Example is mostly minimized, but not completely.


More information about the Gcc-bugs mailing list