From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2AFC33858D1E; Sat, 24 Sep 2022 19:34:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AFC33858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664048091; bh=qu0yKILcWaQAXBZnPfjemqotVNNSGlQBXwkifo1FlCo=; h=From:To:Subject:Date:From; b=vhHoqM1e5s9Yox0kOLXqkl+R0dMg+P41n1uwzzlkx0EmpSq9y11lXa7W63sqYlpTC 7vTM6wRelgYnmPJ1yd92y2T6ykc81jkuY7TvAwmzKi/NgKTY+2RZajwhg/OznzeRyk 1zmluhQTIrh0QBuoAUvh5RrSpcsEurGZTQAT4gm8= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107029] New: ice during GIMPLE pass: reassoc Date: Sat, 24 Sep 2022 19:34:50 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107029 Bug ID: 107029 Summary: ice during GIMPLE pass: reassoc 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: --- This C++ code: class ImplicitBool ImplicitBool::*Reset___trans_tmp_1; int ImplicitBool::*Reset___trans_tmp_2; struct Chips { struct Clocks { void Reset(bool, bool); int next; }; void Reset(); Clocks clocks; }; void Chips::Clocks::Reset(bool mmc5Chip, bool fdsChip) { next =3D mmc5Chip || fdsChip; } void Chips::Reset() { clocks.Reset(Reset___trans_tmp_1, Reset___trans_tmp_2= ); } when compiled as follows by recent g++ $ ../results/bin/g++ -c -w -O2 -std=3Dc++98 bug849.cc does this: bug849.cc: In member function =E2=80=98void Chips::Reset()=E2=80=99: bug849.cc:14:6: error: invalid types for =E2=80=98bit_and_expr=E2=80=99 14 | void Chips::Reset() { clocks.Reset(Reset___trans_tmp_1, Reset___trans_tmp_2); } | ^~~~~ <<< Unknown tree: offset_type >>> <<< Unknown tree: offset_type >>> <<< Unknown tree: offset_type >>> _11 =3D _10 & Reset___trans_tmp_1.1_3; during GIMPLE pass: reassoc bug849.cc:14:6: internal compiler error: verify_gimple failed The bug first seems to occur sometime between git hash 7d7e2149cdb6b0c3 and 9a1bc4b463e61cd5, a day later. There are 24 commits in that range.=