From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 159C43858D20; Fri, 11 Aug 2023 09:37:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 159C43858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691746630; bh=v2lPGXAIjllx/a6zti/uNYsG2Gs4sspMRVOiLEjnjlA=; h=From:To:Subject:Date:From; b=pxbuV+T4ukRdBUtCAge1zvr1huk2odO8kqFzZtC88HcQGSL4a0fkm8A7XjJaLfHyP mosNVsXEPZG2ok2fNPRz7hXUCdlrktl/zvrxLIJk4KUxFwMCSr9CB+Rcr/CD+Wo0n7 skg6vFbcL0W1LO28BgGCIJ5fzFUPOqnb1oaLF/OY= From: "fkastl at suse dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/110988] New: ICE when building 523.xalancbmk_r with pgo and lto Date: Fri, 11 Aug 2023 09:37:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fkastl at suse dot cz 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 cc target_milestone cf_gcchost cf_gcctarget 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=3D110988 Bug ID: 110988 Summary: ICE when building 523.xalancbmk_r with pgo and lto Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: fkastl at suse dot cz CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: x86_64-linux On x86_64 Zen3-based CPU (and probably others) building 523.xalancbmk_r fai= ls with an ICE in the final build step. We have bisected this to 2e93b92c1ec5fbbbe10765c6e059c3c90d564245 (Fix prof= ile update after cancelled loop distribution). The backtrace is during GIMPLE pass: vect ./xalanc/PlatformSupport/XalanArrayAllocator.hpp: In member function 'createEntry': ./xalanc/PlatformSupport/XalanArrayAllocator.hpp:174:9: internal compiler error: in apply_scale, at profile-count.h:1180 174 | createEntry( | ^=20=20=20=20=20 0x97fd4f profile_count::apply_scale(profile_count, profile_count) const=20 ../../gcc/gcc/profile-count.h:1180 0xe921fc fold_loop_internal_call(gimple*, tree_node*) ../../gcc/gcc/tree-cfg.cc:7738 0x1124a02 execute ../../gcc/gcc/tree-vectorizer.cc:1328 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. make[1]: *** [/tmp/ccHpVuHE.mk:26: /tmp/cc6fS858.ltrans8.ltrans.o] Error 1 make[1]: *** Waiting for unfinished jobs....=