[Bug target/114595] rtl-expand emit redundant store for bitwise-and expression

2024-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114595 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug target/114595] rtl-expand emit redundant store for bitwise-and expression

2024-04-04 Thread absoler at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114595 --- Comment #1 from absoler at smail dot nju.edu.cn --- gcc-4's result: ``` func_1(): movlg1(%rip), %eax andl$1, %eax movb%al, g2(%rip) movl%eax, g3(%rip) ret ```