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

* [Bug tree-optimization/96748] ICE in get_default_value, at tree-ssa-ccp.c:311
  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 ` pinskia at gcc dot gnu.org
  2020-08-23  5:11 ` manuel.lauss at googlemail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-08-23  2:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96748

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-08-23

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>The attached unreduced testcase

It did NOT attach.  Maybe it is a bit too big.  Maybe try to compress it.

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

* [Bug tree-optimization/96748] ICE in get_default_value, at tree-ssa-ccp.c:311
  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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: manuel.lauss at googlemail dot com @ 2020-08-23  5:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96748

--- Comment #2 from Manuel Lauss <manuel.lauss at googlemail dot com> ---
Created attachment 49099
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49099&action=edit
gzipped testcase

Apologies, find the gzip compressed test source attached.

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

* [Bug tree-optimization/96748] ICE in get_default_value, at tree-ssa-ccp.c:311
  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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-08-23  5:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96748

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED
     Ever confirmed|1                           |0

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

* [Bug tree-optimization/96748] ICE in get_default_value, at tree-ssa-ccp.c:311
  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
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: manuel.lauss at googlemail dot com @ 2020-08-23 17:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96748

Manuel Lauss <manuel.lauss at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Manuel Lauss <manuel.lauss at googlemail dot com> ---
I can no longer reproduce it with a fresh checkout of 10.2 branch.
Closing as invalid.

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

* [Bug tree-optimization/96748] ICE in get_default_value, at tree-ssa-ccp.c:311
  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
                   ` (3 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-08-24  8:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96748

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
I don't see the failure for any of recent GCC releases:

Releases
  8.1.0 (406c2abec3f998e9)(02 May 2018 10:13): [took: 4.858s] result: OK
  8.2.0 (ddeb81e76461fc00)(26 Jul 2018 09:47): [took: 4.871s] result: OK
  8.3.0 (4c44b708f11eec6f)(22 Feb 2019 14:20): [took: 4.913s] result: OK
  8.4.0 (8cd3bffead2ed1d1)(04 Mar 2020 08:30): [took: 4.821s] result: OK
  9.1.0 (c8913260b0756f97)(03 May 2019 07:59): [took: 4.729s] result: OK
  9.2.0 (a0c06cc27d2146b7)(12 Aug 2019 09:38): [took: 4.731s] result: OK
  9.3.0 (4212a6a3e44f8704)(12 Mar 2020 11:08): [took: 4.770s] result: OK
  10.1.0 (6e6e3f144a33ae50)(07 May 2020 10:50): [took: 4.924s] result: OK
  10.2.0 (ee5c3db6c5b2c333)(23 Jul 2020 06:35): [took: 4.919s] result: OK

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

* [Bug tree-optimization/96748] ICE in get_default_value, at tree-ssa-ccp.c:311
  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
                   ` (4 preceding siblings ...)
  2020-08-24  8:35 ` marxin at gcc dot gnu.org
@ 2020-08-24  8:51 ` manuel.lauss at googlemail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: manuel.lauss at googlemail dot com @ 2020-08-24  8:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96748

--- Comment #5 from Manuel Lauss <manuel.lauss at googlemail dot com> ---
(In reply to Martin Liška from comment #4)
> I don't see the failure for any of recent GCC releases:
> 
> Releases
>   8.1.0 (406c2abec3f998e9)(02 May 2018 10:13): [took: 4.858s] result: OK
>   8.2.0 (ddeb81e76461fc00)(26 Jul 2018 09:47): [took: 4.871s] result: OK
>   8.3.0 (4c44b708f11eec6f)(22 Feb 2019 14:20): [took: 4.913s] result: OK
>   8.4.0 (8cd3bffead2ed1d1)(04 Mar 2020 08:30): [took: 4.821s] result: OK
>   9.1.0 (c8913260b0756f97)(03 May 2019 07:59): [took: 4.729s] result: OK
>   9.2.0 (a0c06cc27d2146b7)(12 Aug 2019 09:38): [took: 4.731s] result: OK
>   9.3.0 (4212a6a3e44f8704)(12 Mar 2020 11:08): [took: 4.770s] result: OK
>   10.1.0 (6e6e3f144a33ae50)(07 May 2020 10:50): [took: 4.924s] result: OK
>   10.2.0 (ee5c3db6c5b2c333)(23 Jul 2020 06:35): [took: 4.919s] result: OK

As I wrote in comment 3, I can no longer reproduce it either.  It appeared in a
10.2.0 branch build of ~13.08.2020, but has since been resolved.

^ 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).