Did it involve bitfields? GCC is notoriously bad at optimizing them. There are some target-specific optimizations, but pretty much nothing in the middle-end.
It did, yes. On an architecture without bit field extracts.
It did, yes. On an architecture without bit field extracts.