From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8D21B3858424; Tue, 9 Apr 2024 06:46:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D21B3858424 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712645200; bh=2iGAP1rsZFOrIGSQhvDk8a3aAbAFZaQuAdK6lWObRTQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eGpQXG+la33iQW2vX8Arm5xPgng/Kq9VhtC30ZY/nsu4AQoOevo5t24U6rtiAinlO 4ErkcpCtwkCx+mFHMLU8Smt5xcrBFJVoxQ2/lTDJSq8zXIMVS/uR9tD4LG+oyVvzC/ Oq+orEgiPidfB8BR3ZAMCwdjhXpxr+bvm6MGnRQU= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114604] Ranger allocates from uninitialized bitmap_default_obstack Date: Tue, 09 Apr 2024 06:46:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D114604 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d76df699b8ff792575e9df4d214c21fed0ed3b6b commit r14-9855-gd76df699b8ff792575e9df4d214c21fed0ed3b6b Author: Richard Biener Date: Mon Apr 8 10:50:18 2024 +0200 middle-end/114604 - ranger allocates bitmap without initialized obstack The following fixes ranger bitmap allocation when invoked from IPA context where the global bitmap obstack possibly isn't initialized. Instead of trying to use one of the ranger obstacks the following simply initializes the global bitmap obstack around an active ranger. PR middle-end/114604 * gimple-range.cc (enable_ranger): Initialize the global bitmap obstack. (disable_ranger): Release it.=