From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D68653858C74; Sun, 10 Mar 2024 14:03:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D68653858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710079410; bh=Q+xQXi2Ewlp3p2+LKN0MVHnTbNCyhqb1OzbEap399/o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qs5YmaxoG9M60PCETtYtXb/XBg+X+9O7xnsCeBMWyZNTx2I6D87qT1cSSa2JZvRxv dAVqQ+5XthpH0KHU8verS8K80z0jz6tsFY1mEBUXE2VPdIIXM9ys6MJuArNaMwxG2u Mml9d/YgV4sjfueUMz9g3ZWJskDJNmL4L/ldV3Is= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110501] [13/14 regression] Invalid -Wuse-after-free / realloc with a store/load happening Date: Sun, 10 Mar 2024 14:03:29 +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: sjames at gcc dot gnu.org 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: 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=3D110501 Sam James changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12/13/14 regression] |[13/14 regression] Invalid |Invalid -Wuse-after-free / |-Wuse-after-free / realloc |realloc with a store/load |with a store/load happening |happening | --- Comment #8 from Sam James --- oh, right, it was added in 12. But given 12 only warns with -O0 and 13+ warn with optimisation, let's call it a 13/14 regression.=