From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 195113857811; Tue, 14 Jun 2022 10:26:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 195113857811 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/105971] New: [12/13 Regression] ICE in bitmap_check_index, at sbitmap.h:104 Date: Tue, 14 Jun 2022 10:26:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2022 10:26:40 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105971 Bug ID: 105971 Summary: [12/13 Regression] ICE in bitmap_check_index, at sbitmap.h:104 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started between 20211121 and 20211128, at -O1+ : (gcc configured with --enable-checking=3Dyes) $ cat z1.c void a() { int b; int c; int d =3D a; _Complex float *e =3D a; for (;;) { (*e +=3D d) / b ?: 0; } } $ gcc-13-20220612 -c z1.c -O2 z1.c: In function 'a': z1.c:5:11: warning: initialization of 'int' from 'void (*)()' makes integer from pointer without a cast [-Wint-conversion] 5 | int d =3D a; | ^ z1.c:6:23: warning: initialization of '_Complex float *' from incompatible pointer type 'void (*)()' [-Wincompatible-pointer-types] 6 | _Complex float *e =3D a; | ^ during GIMPLE pass: dse z1.c:10:1: internal compiler error: in bitmap_check_index, at sbitmap.h:104 10 | } | ^ 0x1e915d1 bitmap_check_index ../../gcc/sbitmap.h:104 0x1e915d1 bitmap_bit_in_range_p(simple_bitmap_def const*, unsigned int, unsigned int) ../../gcc/sbitmap.cc:336 0xf7f37c live_bytes_read ../../gcc/tree-ssa-dse.cc:786 0xf7f37c dse_classify_store(ao_ref*, gimple*, bool, simple_bitmap_def*, boo= l*, tree_node*) ../../gcc/tree-ssa-dse.cc:1007 0xf827f8 dse_optimize_stmt ../../gcc/tree-ssa-dse.cc:1421 0xf827f8 execute ../../gcc/tree-ssa-dse.cc:1527=