[Bug c++/83482] New: internal compiler error: Segmentation fault

fiesh at zefix dot tv gcc-bugzilla@gcc.gnu.org
Tue Dec 19 10:06:00 GMT 2017


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

            Bug ID: 83482
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fiesh at zefix dot tv
  Target Milestone: ---

Created attachment 42914
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42914&action=edit
Preprocessed code triggering segmentation fault

The attached file leads to a segmentation fault, but only when compiling with
-O2 or higher:

g++ -O2 p.ii
p.ii: In function ‘void e()’:
p.ii:8:6: internal compiler error: Segmentation fault
 void e() {
      ^

The segmentation fault happens for me both with 7.2.0 as well as 6.4.0.


More information about the Gcc-bugs mailing list