[Bug c++/83372] Compiler segfaults building Mir

2018-02-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #14 from David Malcolm --- Created attachment 43389 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43389=edit The slightly tweaked version of the source with which I can reproduce this I was able to reliably reproduce with

[Bug c++/83372] Compiler segfaults building Mir

2018-02-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #13 from David Malcolm --- (In reply to David Malcolm from comment #12) > Turning the cgraphunit.c:493 > gcc_collect (); > into > selftest::forcibly_ggc_collect (); > and removing the: > --param ggc-min-expand=0 --param

[Bug c++/83372] Compiler segfaults building Mir

2018-02-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 David Malcolm changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned

[Bug c++/83372] Compiler segfaults building Mir

2018-02-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #11 from David Malcolm --- Looks like a GC issue; I was able to reproduce it, albeit *very* slowly, via: --param ggc-min-expand=0 --param ggc-min-heapsize=0 on a slightly hacked up version of attachment 42843.