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

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 31 10:39:00 GMT 2017


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

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Matti Bryce from comment #7)
> (In reply to Martin Liška from comment #5)
> > Confirmed with cross compiler, I reduce a test-case.
> 
> I've attempted to reduce a test case, but after 2 days of running creduce,
> the produced file won't generate the error.

Hi. Looks you hit stack overflow. In that case, please use ulimit and set
smaller stack, that will simplify the reduction. You have to properly write
creduce script that will catch the ICE:
https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction

And please use -fmax-errors=1 which will guarantee that reduced test-case will
be a valid code.

Please either download debug symbols for GCC package. Or build your own from
source: https://gcc.gnu.org/install/configure.html

Feel free to ask for questions..


More information about the Gcc-bugs mailing list