From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB76F3858402; Fri, 5 Apr 2024 08:02:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB76F3858402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712304144; bh=18IIkdLnoV16ia/Dw4VGCVqJjSLr0R4syIdatDjkkgo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qenT7Z1V5jBCMsE8aOC/glimkfLQwZQiq6FmphayFYBVKZB1s20kPz3HOByOJiOJf 9kifmOICwsjGdJUOBdpNEWmcTWKy5sVks8UGWKT7nVJYIPYJ9VqLY1uGs60DhGXZQB l8hNl566/RlcKIe2Do4/raw3UdC/sf8KquN5kGqU= From: "rguenth at gcc dot gnu.org" 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 08:02:24 +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: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone priority cc short_desc 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 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.0 Priority|P3 |P1 CC| |hjl at gcc dot gnu.org Summary|ICE: SIGSEGV in |[14 Regression] ICE: |bitmap_set_bit(bitmap_head* |SIGSEGV in |, int) (bitmap.cc:975) with |bitmap_set_bit(bitmap_head* |-O2 -fcondition-coverage |, int) (bitmap.cc:975) with | |-O2 -fcondition-coverage --- Comment #1 from Richard Biener --- static auto_bitmap ifunc_ref_map; doesn't work - this gets allocated from the bitmap obstack which gets repeatedly cleared. It looks like you may want to use a GC allocated bitmap static GTY(()) bitmap ifunc_ref_map; and GC allocate it when the property is computed.=