[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #13 from Marek Polacek --- This reduced code crashes with GCC 8 up to trunk: struct S { struct Prefs { struct { int i = i; } p; void Load(); }; }; void S::Prefs::Load() { *this = {}; }; $ xg++ -c ff.C ff.C:

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #12 from Marek Polacek --- (In reply to Martin Liška from comment #11) > Marek, what -std do you use? I see the following compilation errors: -std=c++17, but I saw that error too, followed by a crash with GCC 11.

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #11 from Martin Liška --- Marek, what -std do you use? I see the following compilation errors: /home/chris/rpm/BUILD/firefox-99.0.1/layout/generic/nsContainerFrame.h:638:74: error: ‘static void nsFrameList::operator delete(void*)’ i

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #10 from Marek Polacek --- (In reply to Andrew Pinski from comment #9) > (In reply to Marek Polacek from comment #8) > > In fact I see the ICE even without any options. > > > > Looks like for the NSDMI of mFocusText > > leaks into

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #9 from Andrew Pinski --- (In reply to Marek Polacek from comment #8) > In fact I see the ICE even without any options. > > Looks like for the NSDMI of mFocusText > leaks into the gimplifier. But I cannot reproduce this with gcc 1

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #8 from Marek Polacek --- In fact I see the ICE even without any options. Looks like for the NSDMI of mFocusText leaks into the gimplifier. But I cannot reproduce this with gcc 11 on a different box, weird.

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread chris2553 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #6 from Chris Clayton --- I'm struggling to get the compiler command line. The build system is wrapped in a build tool called mach and I'm darned if I can find an argument that will cause it to report the command it is about to launc

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread chris2553 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #5 from Chris Clayton --- The .ii file was huge so I've had to split it and then compress the parts

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread chris2553 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #4 from Chris Clayton --- Created attachment 52804 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52804&action=edit Second Requested file - part2

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread chris2553 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #3 from Chris Clayton --- Created attachment 52803 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52803&action=edit Second requested file - part1

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread chris2553 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 --- Comment #2 from Chris Clayton --- Created attachment 52802 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52802&action=edit First requested file

[Bug c++/105256] ICE compiling firefox-99

2022-04-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-04-13 Ever confirmed|0