From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A4C623858C35; Wed, 8 May 2024 19:17:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A4C623858C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715195869; bh=f0POInxh+MpfKPTK5FopVIQdCpU+AoRqEFts7TPN2Os=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lON8dqkPdz7vsP3ifHh3Y1Ln+2FChqs4B+m9YZwYVj8QFfR3eIEn5NECjkLafJAIu inAqb3rgTI6YhQO38ImZgoBDrGdaGyUKpD4WgkfvsTZ0UGx0+k5rJIqoNBamVLX+Pm vajrmbjoLl1BQdvE8uPBvUje5CJe6M+59NVC/dNk= From: "dima.pasechnik at cs dot ox.ac.uk" 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:17:49 +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: dima.pasechnik at cs dot ox.ac.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 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 --- Comment #26 from Dmitrii Pasechnik = --- We have megabytes of code calling libraries where setjmp/longjmp is used, in github.com/sagemath/sage/ (most of it in Cython). It looks like a huge hassle to put volatiles there.=20 Looks like we would need ways to disable particular optimisations which lea= d to these sorts of errors:-(=