From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1F8D63858D1E; Tue, 29 Nov 2022 20:46:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F8D63858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669754779; bh=gererAxKbOc6CyPI0kOBy9RDY6QwARgITEHIXf3yq4U=; h=From:To:Subject:Date:From; b=NlyBZV7pvRIQNinJQH/wXVW1zyWlDsgsNwPG2CWLPb5dYQXJyJ9h1enTA8FAbaFAE YK4Gcu8TPXCEDm7nvh5wgNvg/5SxrL3d7+l0UOwGV45gShIV09UeN+xU40jsDbHiQ3 Ls2YFofwfoYPIxW2v0+J/sLEByvHx4xJ1Emj5bwc= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/107925] New: ICE in update_specialized_profile at gcc/ipa-cp.cc:5082 for 531.deepsjeng_r benchmark Date: Tue, 29 Nov 2022 20:46:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.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 attachments.created 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=3D107925 Bug ID: 107925 Summary: ICE in update_specialized_profile at gcc/ipa-cp.cc:5082 for 531.deepsjeng_r benchmark Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org, tnfchris at gcc dot gnu.org Target Milestone: --- Created attachment 53985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53985&action=3Dedit test-case Noticed by Tamar and their testers using fancy parameters: $ g++ -march=3Dnative -Ofast -flto=3Dauto --param ipa-cp-eval-threshold=3D1= *.ii -fprofile-use during IPA pass: cp lto1: internal compiler error: in operator>=3D, at profile-count.h:999 0x814bcc profile_count::operator>=3D(profile_count const&) const /home/marxin/Programming/gcc/gcc/profile-count.h:999 0x814bcc profile_count::operator>=3D(profile_count const&) const /home/marxin/Programming/gcc/gcc/profile-count.h:991 0x814bcc update_specialized_profile /home/marxin/Programming/gcc/gcc/ipa-cp.cc:5082 0x1be1689 perhaps_add_new_callers /home/marxin/Programming/gcc/gcc/ipa-cp.cc:5932 0x1be1689 decide_about_value /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6038 0x1be40cc decide_whether_version_node /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6190 0x1be5c02 ipcp_decision_stage /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6388 0x1be5c02 ipcp_driver /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6576 0x1be5c02 execute /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6651 The issue is likely not new in GCC 13, but as it uses profile, I hasn'y bisected that.=