From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3276538708F3; Thu, 14 Jan 2021 20:25:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3276538708F3 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98671] gcc/config/i386/i386-options.c:787:redundantAssignment Date: Thu, 14 Jan 2021 20:25:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 11.0 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, 14 Jan 2021 20:25:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98671 --- Comment #6 from Uro=C5=A1 Bizjak --- (In reply to David Binderman from comment #5) > (In reply to Uro=C5=A1 Bizjak from comment #4) > > I'm not sure if solving this would bring us anything. >=20 > For clarity, at very most a 4% reduction in the size of the stack frame > for function ix86_parse_stringop_strategy_string. Unfortunately, patched and unpatched compiler results in the same frame siz= e: 00000000011dc690 <_ZL35ix86_parse_stringop_strategy_stringPcb>: 11dc690: 41 57 push %r15 11dc692: 41 56 push %r14 11dc694: 41 55 push %r13 11dc696: 41 54 push %r12 11dc698: 55 push %rbp 11dc699: 53 push %rbx 11dc69a: 48 89 fb mov %rdi,%rbx 11dc69d: 48 81 ec 08 01 00 00 sub $0x108,%rsp ...=