From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9CE723858C5F; Thu, 9 Feb 2023 16:18:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CE723858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675959521; bh=UHRNG13xkdV6tupnCIswn57p+h4BEd/AvhHUGtf1yEU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=x5vfcdqj9LwvobTlRUW8w8OnXv87+Ae3Dh1yj47UcgZ7ZthBcMvRASVd7eNRcXFr8 55heObhCI+1oqCc/Cp5lI6Tb6Ba1PqgV6aYzgFJX/s8DoDIUthIIsxkH0Rf8oAeD1L wfHW3d5CMwvwPodWhe/j9mpHf4wcYU1cu5d2xUgk= From: "jankowski938 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/108740] two identical functions but the code generated differs. Why? Date: Thu, 09 Feb 2023 16:18:41 +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: jankowski938 at gmail dot com 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: --- 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=3D108740 --- Comment #3 from Piotr --- (In reply to Richard Biener from comment #2) > Hmm, ICF + re-inlining makes it ignore some of the pointless volatile dan= ce? why the code is different abstracting form the sense of the assignment?=