This is the mail archive of the
mailing list for the GCC project.
Re: [RFC] Don't completely scalarize a record if it contains bit-field (PR tree-optimization/45144)
> > What we IMHO need is a pass late in the gimple pipeline which will
> > optimize adjacent bitfield operations and lower to BIT_FIELD_REF ops
> > or something similar, because bitfield ops are too hard to be handled
> > efficiently after the expansion.
> That's an interesting idea. Does anyone else have an idea as to the
> best plan here?
Note that fold-const.c has done this in some cases for a very long time.