From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 099BD385842D; Mon, 1 Nov 2021 14:51:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 099BD385842D From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103024] New: ICE in execute, at gimple-harden-conditionals.cc:424 Date: Mon, 01 Nov 2021 14:51:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org 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 keywords bug_severity priority component assigned_to reporter cc 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: Mon, 01 Nov 2021 14:51:52 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103024 Bug ID: 103024 Summary: ICE in execute, at gimple-harden-conditionals.cc:424 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: aoliva at gcc dot gnu.org Target Milestone: --- The following fails: $ cat ice.ii struct G4ErrorMatrix { G4ErrorMatrix(int); ~G4ErrorMatrix(); }; double PropagateError_charge; void PropagateError() { G4ErrorMatrix transf(0); int field(PropagateError_charge && field); } $ g++ ice.ii -c -fnon-call-exceptions -fharden-compares -fsignaling-nans during GIMPLE pass: hardcmp ice.ii: In function =E2=80=98void PropagateError()=E2=80=99: ice.ii:6:6: internal compiler error: in execute, at gimple-harden-conditionals.cc:424 6 | void PropagateError() { | ^~~~~~~~~~~~~~ 0x96aa89 execute /home/marxin/Programming/gcc/gcc/gimple-harden-conditionals.cc:424 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=