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

            Bug ID: 127602
           Summary: Segmentation fault when having a lot of cleanups
           Product: gcc
           Version: 16.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoyo at gcc dot gnu.org
  Target Milestone: ---

Created attachment 65683
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65683&action=edit
Reproducer for the bug

Hi.
The attached example triggers a segmentation fault.
It needs `ulimit -s 2048` to produce it.
It gives the following output:

g++: internal compiler error: Segmentation fault signal terminated program
cc1plus
Job 1, 'g++ main.cpp -c' terminated by signal SIGSEGV (Address boundary error)

Thanks.

Reply via email to