This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32901] New: [4.1 regression] bitfield constants with multiple bitfields take up space in .data
- From: "j at uriah dot heep dot sax dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2007 08:35:04 -0000
- Subject: [Bug tree-optimization/32901] New: [4.1 regression] bitfield constants with multiple bitfields take up space in .data
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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