[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&action=edit The slightly tweaked version of the source with which I can reproduce this I was able to reliably reproduce wi

[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 ggc-min-

[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 a

[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. /builddir/build/BUILD

[Bug c++/83372] Compiler segfaults

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|2017-12-11 0

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread alan at octopull dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #10 from Alan Griffiths --- It took me some time and effort to reproduce too. :( Building in my normal development environments showed no problems. And I've yet to reproduce on Ubuntu (although the builders we use fail building for 1

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #9 from Jakub Jelinek --- Can't reproduce it either.

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #8 from Markus Trippelsdorf --- Thanks. However, I still cannot reproduce. Perhaps someone who has access to Red Hat 7.2.1-2 has more luck.

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread alan at octopull dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #7 from Alan Griffiths --- cd /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/server/frontend/wayland && /usr/bin/c++ -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_DRMMODEADDFB_HAS_CONS

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #6 from Markus Trippelsdorf --- Still cannot reproduce. Please post the full gcc invocation. Add -v to it and please post the full output, too.

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread alan at octopull dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #5 from Alan Griffiths --- It isn't clear why, but the problem seems to be provoked by this function: int mf::WaylandConnector::client_socket_fd() const { enum { server, client, size }; int socket_fd[size]; if (socketpai

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread alan at octopull dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 Alan Griffiths changed: What|Removed |Added Attachment #42841|0 |1 is obsolete|

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 Markus Trippelsdorf changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread alan at octopull dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #2 from Alan Griffiths --- Created attachment 42841 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42841&action=edit Preprocessed source So far, I've only seen the error on "builders" where I don't have access (i.e. I've so far

[Bug c++/83372] Compiler segfaults

2017-12-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|