This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/83482] New: internal compiler error: Segmentation fault
- From: "fiesh at zefix dot tv" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Dec 2017 10:05:57 +0000
- Subject: [Bug c++/83482] New: internal compiler error: Segmentation fault
- Auto-submitted: auto-generated
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.