https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949
Bug ID: 92949 Summary: bswap/store merging does not handle BIT_INSERT_EXPR Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- While working on lowering bit-field accesses (to allow better optimizations on the tree level rather than just on the RTL level), I find the bswap/store merging passes don't handle BIT_INSERT_EXPR. So we don't transform some things now. I could not understand how symbolic_number works so I am filing this bug.