[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

brycm001 at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 27 18:09:00 GMT 2017


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

--- Comment #6 from Matti Bryce <brycm001 at gmail dot com> ---
I have figured out more information. For some reason the build command in the
log was (erroneously) listed as -O2, but the actual trigger of the segfault is
-O3.

I am running creduce right now, but the size of the file means that it is going
to take many many hours more. However, I have uploaded the .i.cpp file and the
python3 detector script so you can easily run it if you have a more beefy
computer. The folder containing all 3 things is:

https://bitbucket.org/TheEdenCrazy/gassim/src/a01812e2f7d95e667f67d400bb9d57caad1a5709/_gcc_bug_test/?at=master

(just cp Manager.cpp.i -> Manager.cpp.i.cpp), then do

creduce ./attempt_compilation.sh Manager.cpp.i.cpp

To reduce it.


More information about the Gcc-bugs mailing list