From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 31462383640B; Thu, 9 Dec 2021 08:18:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31462383640B From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os since r9-3594 Date: Thu, 09 Dec 2021 08:18:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.3.1 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 9.5 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2021 08:18:36 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101995 --- Comment #10 from Andrew Pinski --- >I don't see any problem with aarch64 fwiw. I have to try it on aarch64 but it failed there at one point. (In reply to Segher Boessenkool from comment #8) > Also, what is fragile here? This is *removing* fragility and premature > choices! (In reply to Segher Boessenkool from comment #9) > (In reply to Segher Boessenkool from comment #7) > > What is this REG_RETURNED thing? >=20 > Ah, something added in ira-lives.c, and you call *that* code fragile? > I agree :-) You got to what I thought was fragile in the end. And yes the whole REG_RETURNED mechanism seems very fragile (not the change r9-3594 ). I could not figure out how it was being known to be set on which function call even= .=