public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/96748] New: ICE in get_default_value, at tree-ssa-ccp.c:311
@ 2020-08-22 17:38 manuel.lauss at googlemail dot com
  2020-08-23  2:36 ` [Bug tree-optimization/96748] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: manuel.lauss at googlemail dot com @ 2020-08-22 17:38 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-24  8:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 17:38 [Bug c/96748] New: ICE in get_default_value, at tree-ssa-ccp.c:311 manuel.lauss at googlemail dot com
2020-08-23  2:36 ` [Bug tree-optimization/96748] " pinskia at gcc dot gnu.org
2020-08-23  5:11 ` manuel.lauss at googlemail dot com
2020-08-23  5:16 ` pinskia at gcc dot gnu.org
2020-08-23 17:21 ` manuel.lauss at googlemail dot com
2020-08-24  8:35 ` marxin at gcc dot gnu.org
2020-08-24  8:51 ` manuel.lauss at googlemail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).