https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96748
Bug ID: 96748 Summary: ICE in get_default_value, at tree-ssa-ccp.c:311 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: manuel.lauss at googlemail dot com Target Milestone: --- The attached unreduced testcase, isolated from wireshark-3.2.6, ICEs in get_default_value, at tree-ssa-ccp.c:311, with current 10.2.1 branch. It goes away with -O1 or when dropping -fno-strict-overflow at -O2 or higher. # gcc -fno-strict-overflow -O2 -c packet-ieee80211.i during GIMPLE pass: ccp /tmp-ram/portage/net-analyzer/wireshark-3.2.6/work/wireshark-3.2.6/epan/dissectors/packet-ieee80211.c: In function 'dissect_quiet_time_period.constprop': /tmp-ram/portage/net-analyzer/wireshark-3.2.6/work/wireshark-3.2.6/epan/dissectors/packet-ieee80211.c:12484:1: internal compiler error: in get_default_value, at tree-ssa-ccp.c:311 12484 | dissect_quiet_time_period(tvbuff_t *tvb, packet_info *pinfo _U_, | ^~~~~~~~~~~~~~~~~~~~~~~~~ 0x7fcac1d5adc9 __libc_start_main ../csu/libc-start.c:314 Please submit a full bug report, with preprocessed source if appropriate. # gcc --version gcc (Gentoo 10.2.1 p1) 10.2.1 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.