https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737
--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Matti Bryce from comment #14) > (In reply to Martin Liška from comment #12) > > (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.. > > There are no debug symbols available, so I'm going to have to build gcc. But > I can't find the configure option on > https://gcc.gnu.org/install/configure.html, so if you could tell me the flag > to use to enable debug symbols, that would be helpful. You can basically following in root folder: $ mkdir objdir $ cd objdir $ ../configure --enable-languages=c,c++ --disable-multilib --disable-bootstrap --disable-libsanitizer $ make -j8 $ ./gcc/xg++ -Bgcc [rest_of_options] That should trigger the ICE. > > I'm running creduce again, so I'll get back to you on that once it has > finished running. > > Thanks. > > Thanks.