[Bug rtl-optimization/107455] Suboptimal codegen for some branch-on-zero cases

2022-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107455 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|

[Bug rtl-optimization/107455] Suboptimal codegen for some branch-on-zero cases

2022-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107455 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/107455] Suboptimal codegen for some branch-on-zero cases

2022-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107455 --- Comment #2 from Andrew Pinski --- Note GCC does this optimization at the gimple level some of the times when it comes to the same type. Witness: int x (int t) { if (t & 256) return -26; return 0; }

[Bug rtl-optimization/107455] Suboptimal codegen for some branch-on-zero cases

2022-11-16 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107455 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #3