From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8645A3858C62; Mon, 5 Sep 2022 10:02:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8645A3858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662372167; bh=umg/ufCZVahxrHzyEZyLREmIZ/4SAAMaIXPYwuNhEdM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nuvVGGPIm1dH91LbDjUbDu/wnarf1ZmRPihHSpAtW3os9UkY0DxjJ2tzI9Nkp5hLU OTQTSwiGv0dUbJkTg4Heu3QNpvt2N0WxrIGYep1e0lm2kv5LVpgYBjR9pREXn2BzlN WnBdlNsh67y/nvyzCvitryZ9GcJAXthWnycu/lrM= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/106816] noreturn/pure attributes are not set correctly on multiversioned functions Date: Mon, 05 Sep 2022 10:02:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 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=3D106816 --- Comment #5 from Richard Biener --- The function should probably inherit all of the IPA pure/const/modref analy= sis result, that is all "IPA" state should be copied. I think we want some hel= per here - IPA clone creation must have something, no?=