public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/101642] New: ice in decompose, at wide-int.h:984
@ 2021-07-27 12:08 dcb314 at hotmail dot com
  2021-07-27 12:13 ` [Bug c/101642] " dcb314 at hotmail dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: dcb314 at hotmail dot com @ 2021-07-27 12:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101642
           Summary: ice in decompose, at wide-int.h:984
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 51210
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51210&action=edit
C source code

The attached C code does this with recent gcc:

$ ../results/bin/gcc -c -O2 bug740.c 
during GIMPLE pass: fre
netflow_v1.c: In function ‘Process_v1’:
netflow_v1.c:507:1: internal compiler error: in decompose, at wide-int.h:984
0x139979c wi::int_traits<generic_wide_int<wide_int_storage> >::decompose(long*, 
unsigned int, generic_wide_int<wide_int_storage> const&)
        ../../trunk.git/gcc/wide-int.h:984
0x139979c wide_int_ref_storage<true,
false>::wide_int_ref_storage<generic_wide_i
nt<wide_int_storage> >(generic_wide_int<wide_int_storage> const&, unsigned int)
        ../../trunk.git/gcc/wide-int.h:1034
0x139979c generic_wide_int<wide_int_ref_storage<true, false>
>::generic_wide_int
<generic_wide_int<wide_int_storage> >(generic_wide_int<wide_int_storage>
const&,
 unsigned int)
        ../../trunk.git/gcc/wide-int.h:790

I will have my usual go at reducing the code and trying to spot a
range of git hashes where the problem first occurs.

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

end of thread, other threads:[~2021-08-02 12:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 12:08 [Bug c/101642] New: ice in decompose, at wide-int.h:984 dcb314 at hotmail dot com
2021-07-27 12:13 ` [Bug c/101642] " dcb314 at hotmail dot com
2021-07-27 12:21 ` dcb314 at hotmail dot com
2021-07-27 12:24 ` dcb314 at hotmail dot com
2021-07-27 12:43 ` dcb314 at hotmail dot com
2021-07-27 12:43 ` jakub at gcc dot gnu.org
2021-07-27 12:50 ` [Bug middle-end/101642] [12 Regression] " rguenth at gcc dot gnu.org
2021-07-27 12:55 ` zsojka at seznam dot cz
2021-07-27 14:11 ` jakub at gcc dot gnu.org
2021-07-27 14:15 ` zsojka at seznam dot cz
2021-07-27 14:17 ` jakub at gcc dot gnu.org
2021-07-27 14:50 ` jakub at gcc dot gnu.org
2021-07-27 15:08 ` roger at nextmovesoftware dot com
2021-07-28 16:42 ` cvs-commit at gcc dot gnu.org
2021-07-28 16:46 ` jakub at gcc dot gnu.org
2021-08-02 12:31 ` cvs-commit at gcc dot gnu.org

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