From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C87A63845BE1; Fri, 5 Apr 2024 13:42:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C87A63845BE1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712324564; bh=FiPfBV9yYJEQZH+jOO/LwOvIjnh80iTNqcR0mgOHJkk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=scKjvezCphtFuj6oSZ9BlnArTeX1Yian+k0EVeiKW0IDstJ/+KieVRPdNaYJJsI+Y Cp3bhJcdkKj3xJEXYns2X8vIZCzKNhjTLKVR+qD6R+PkHTMEqPRFg/rwEX868iwiTT O9wlLPBppXd1PuwVQwRsHnI5sGQpn+b0MNfUZEA8= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/114599] [14 Regression] ICE: SIGSEGV in bitmap_set_bit(bitmap_head*, int) (bitmap.cc:975) with -O2 -fcondition-coverage Date: Fri, 05 Apr 2024 13:42:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: 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=3D114599 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #5 from H.J. Lu --- Created attachment 57888 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57888&action=3Dedit A testcase The bug isn't fixed: [hjl@gnu-tgl-3 gcc]$ /export/build/gnu/tools-build/gcc-debug/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/tools-build/gcc-debug/build-x86_64-linux/gcc/ /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.misc-tests/gcov-24.c -fdiagnostics-plain-output -O2 -fcondition-coverage -S -o gcov-24.s during IPA pass: profile /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.misc-tests/gcov-24.c: = In function =E2=80=98do_all_fn_LHASH_DOALL_ARG_arg2=E2=80=99: /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.misc-tests/gcov-24.c:2= 0:1: internal compiler error: Segmentation fault 0x16ccfa6 crash_signal /export/gnu/import/git/sources/gcc/gcc/toplev.cc:319 0x180579d hash_table, unsigned int> >::hash_en= try, false, xcallocator>::find_with_hash(gcond* const&, unsigned int) /export/gnu/import/git/sources/gcc/gcc/hash-table.h:983 0x1804c87 hash_map, unsigned int> >::get(gco= nd* const&) /export/gnu/import/git/sources/gcc/gcc/hash-map.h:191 0x17fdbf8 condition_uid /export/gnu/import/git/sources/gcc/gcc/tree-profile.cc:370 0x17ff420 find_conditions(function*) /export/gnu/import/git/sources/gcc/gcc/tree-profile.cc:877 0x158b963 branch_prob(bool) /export/gnu/import/git/sources/gcc/gcc/profile.cc:1549 0x1802b86 tree_profiling /export/gnu/import/git/sources/gcc/gcc/tree-profile.cc:1917 0x1803210 execute /export/gnu/import/git/sources/gcc/gcc/tree-profile.cc:2046 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. [hjl@gnu-tgl-3 gcc]$=