From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 405193858C35; Wed, 8 May 2024 19:35:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 405193858C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715196914; bh=gsc6wCu/qenR+XzhlCUr8aQOhS9ZFGBQkY0EEko4OtI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gOp6f6st6imfhPMp9YpoHT7kAYxDIgDAL+AXZtPl/5yCuzFTloFhSOqUxDiP6xfjU vXR6uPuWtKrw0gNRE2wWifo9XVFR3rChrGlLiujhB/R7UCTs5mG5IT35uu9ElISC8O hP39jJV1HfTD/MLb3ElICgztV/LVeIRqiHiGxlak= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037 Date: Wed, 08 May 2024 19:35:13 +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: 13.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status see_also resolution 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=3D114872 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D56512 Resolution|--- |INVALID --- Comment #27 from Andrew Pinski --- https://pubs.opengroup.org/onlinepubs/7908799/xsh/longjmp.html The requirement of using volatile has been there a long time before your co= de was written ...=