[Bug rtl-optimization/101200] Unneeded AND after shift

2021-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/101200] Unneeded AND after shift

2021-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 --- Comment #2 from Andrew Pinski --- Note the tree level looks decent: a_6 = d.0_1 >> 4; f_7 = d.0_1 & 15; _2 = (int) f_7; _3 = (int) a_6; _4 = c.b[_2]; c.b[_3] = _4; Which gets expanded (for c.b[_3] and dependents) into: (insn 5 4

[Bug rtl-optimization/101200] Unneeded AND after shift

2021-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |rtl-optimization Keywords|