When defining a bitfield constant where multiple bitfields have initializing values, this constant is moved into .data in GCC 4.1. GCC 3.x could realize it can be written and assigned as a single integer number. GCC 4.x only realizes this situation as long as a single bitfield is initialized.
Verified on i386 and avr targets, so this is apparently completely independent of the target CPU. -- Summary: [4.1 regression] bitfield constants with multiple bitfields take up space in .data Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: j at uriah dot heep dot sax dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32901