From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E65183858428; Thu, 6 Jul 2023 20:49:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E65183858428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688676597; bh=JxMGdz4kVXymMEC83HcnpBDzFy8cuHg8M4/G32BWlxU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OM+aDhur0JgW7HqA1V7odcKH+SeI6FWVjkVDCYMDOYF8MTMkeQkxycjNcqUx/XfDs mUwEDvEUa8FntDSVJJTbb66BFS3O+YZHy5tiA0dYIJx6bTn8z97sW34DjlaXO9mAwe HDkjdWMsc5WRIuWTw7cLn8C7lOYU4PT+u/B3nV5E= From: "cheyenne.wills at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110501] Invalid use-after-free / realloc with a store/load happening Date: Thu, 06 Jul 2023 20:49:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.3.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: cheyenne.wills at gmail dot com X-Bugzilla-Status: NEW 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: 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=3D110501 --- Comment #6 from Cheyenne Wills --- Just another bit of information. Specifying just -Werror=3Duse-after-free appears to be not not enough to tr= igger the problem. Using -Wall however does trigger the problem. (tried on gcc-12 and gcc-13)=