https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122018
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |segher at gcc dot gnu.org
--- Comment #16 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Hongtao Liu from comment #4)
> (In reply to Hongtao Liu from comment #3)
> > Maybe we should have a peephole for that, to optimize bts + bt to just bts.
Either that, or formulate it in RTL in such a way that it automatically
works the way you want with existing optimisations!