[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR/BIT_FIELD_REF

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 17 10:12:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note bswap pass is very fragile.  In fact if we increase the limit by 1, things
dont work any more.  There needs to be a better way of handling this.

Oh when I was adding bit insert to it, it falls over due to the above problem
too, though it is a little more complex.
If I start with zero, I can get it to work.  Though I have not added that one
yet.

I will be looking into what we could do for store merging to see if it could be
improved.


More information about the Gcc-bugs mailing list