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

            Bug ID: 120040
           Summary: Module ICE when constexpr function calls new on class
                    withe empty destructor.
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kongmingd234 at proton dot me
  Target Milestone: ---

Created attachment 61259
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61259&action=edit
This program causes ICE.

This small program causes an internal compiler error, it MUST be exported as a
module. Neither the function nor the struct need to be exported. The destructor
must be empty and not defaulted.
  • [Bug c++/120040] New: Module IC... kongmingd234 at proton dot me via Gcc-bugs

Reply via email to