https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105256
Bug ID: 105256
Summary: ICE compiling firefox-99
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chris2553 at googlemail dot com
Target Milestone: ---
I get the following ICE bump when compiling firefox-99.0 (and 99.0.1) with a
gcc installation built from the gcc-11-20220409 snapshot. The same ICE occurs
with gcc-11-20220402.
30:42.01 In file included from Unified_cpp_layout_style2.cpp:92:
30:42.01 /home/chris/rpm/BUILD/firefox-99.0.1/layout/style/PreferenceSheet.cpp:
In member function 'void mozilla::PreferenceSheet::Prefs::Load(bool)':
30:42.01
/home/chris/rpm/BUILD/firefox-99.0.1/layout/style/PreferenceSheet.cpp:181:12:
internal compiler error: Segmentation fault
30:42.01 181 | *this = {};
30:42.01 | ^
30:42.03 0x16b0e03 diagnostic_impl(rich_location*, diagnostic_metadata const*,
int, char const*, __va_list_tag (*) [1], diagnostic_t)
30:42.03 ???:0
30:42.03 0x16b1247 internal_error(char const*, ...)
30:42.03 ???:0
30:42.03 0xc8edbf crash_signal(int)
30:42.03 ???:0
30:42.03 0x8674f3 ggc_free(void*)
30:42.03 ???:0
30:42.04 0x62a075 gimplify_asm_expr(tree_node**, gimple**, gimple**) [clone
.isra.0] [clone .cold]
30:42.04 ???:0
30:42.04 Please submit a full bug report,
30:42.04 with preprocessed source if appropriate.
30:42.04 Please include the complete backtrace with any bug report.
30:42.04 See <https://gcc.gnu.org/bugs/> for instructions.
30:42.11 gmake[4]: ***
[/home/chris/rpm/BUILD/firefox-99.0.1/config/rules.mk:660:
Unified_cpp_layout_style2.o] Error 1
30:42.11 gmake[3]: ***
[/home/chris/rpm/BUILD/firefox-99.0.1/config/recurse.mk:72:
layout/style/target-objects] Error 2
30:42.11 gmake[3]: *** Waiting for unfinished jobs....
The same build completes successfully with gcc-12-20220410 and with
gcc-10-20220408.