From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 398203858C98; Thu, 4 Apr 2024 23:35:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 398203858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712273726; bh=8rAoQUOP2iLSbSpgelou/PiG0a+1FxSmHLWgsS5uxZM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xZuvGiy4ky8xTfBSmHAbt+SbFHSucwqeY+7+gCjPOlJVU+cKoC8rHiZLBRLY5CbhE 71mE74GevjMAGHpWCLbYf1nsGa1JHtHpeBuGD9jWZ+M34j/HdOu/jq1Rfj9V49B+8n FPYWpGZSHNGT3UJlF3B0BfyE0MqKlDynn8s1m8uY= From: "absoler at smail dot nju.edu.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114595] rtl-expand emit redundant store for bitwise-and expression Date: Thu, 04 Apr 2024 23:35:26 +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: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: absoler at smail dot nju.edu.cn 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=3D114595 --- Comment #1 from absoler at smail dot nju.edu.cn --- gcc-4's result: ``` func_1(): movl g1(%rip), %eax andl $1, %eax movb %al, g2(%rip) movl %eax, g3(%rip) ret ```=