https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83831
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-28 Summary|[6/7/8 Regression][RX] |[RX] Unused bclr,bnot,bset |Unused bclr,bnot,bset insns |insns Ever confirmed|0 |1 --- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #0) > These cases should be emitting the bclr, bnot, bset instructions. They are > present in rx.md but I guess the combine pass does not catch them because of > some reasons. I assume these patterns used to work at some point in time, > so this must be some kind of regression. It's not working on the latest > supported branch (GCC 6) and trunk (GCC 8). While working on this issue, I realized that the patterns could have never worked to the full extent. There was also a corresponding comment in rx.md. So it's not really a regression, but I'll be posting patches for GCC 6 and GCC 7 here in case somebody needs it.