From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 537E53858D1E; Mon, 6 Feb 2023 10:11:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 537E53858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675678261; bh=48ZjT2onPaZJ0qoAWy195PwZYIC1wL2HlbfQtM149NE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=udtPe/CQIonFbRJ+n89PMigS/8N4TxeVre6iOvEvYkOGsaso+nl4wrjT+OKSHPEP9 jPGKZ6c5iCADiGHg27UYUoNvSNFxF7tLvinT0yENUKhAwEHLO80gIFf175nQJMEI57 9W3vnu6Jgv/iIzmrC4YJBv7EyhvRUH4uL6d7tlR0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/108656] [12/13 Regression] '-fcompare-debug' failure (length) w/ -O2 -fno-ipa-pure-const -fno-tree-dce --param early-inlining-insns=0 since r12-5236 Date: Mon, 06 Feb 2023 10:11:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compare-debug-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.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=3D108656 --- Comment #9 from Jakub Jelinek --- In the setjmp/longjmp case obviously you need some other function that will= do the longjmp, on the other side setjmp as pure makes no sense because setjmp= has to remember pc/sp etc. in some jump buffer, so it isn't pure. Ditto getcon= text etc. But returns_twice isn't just setjmp, it is also fork/vfork or anything else that can arrange multiple returns through other means.=