This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32901] [4.1/4.2/4.3 regression] bitfield constants with multiple bitfields take up space in .data
- From: "aldyh at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Dec 2007 23:54:09 -0000
- Subject: [Bug tree-optimization/32901] [4.1/4.2/4.3 regression] bitfield constants with multiple bitfields take up space in .data
- References: <bug-32901-11199@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from aldyh at gcc dot gnu dot org 2007-12-04 23:54 -------
(In reply to comment #8)
> E.g. for PR22141 it would help too (for PR32901 only if the constructor
> gimplification heuristics is also adjusted).
>
Ok, I see what you mean. We adjust the heuristic as I've suggested, and write
some pass to merge consecutive bitfield stores. I wonder what pass we can
hijack and add the smarts to, instead of writing a whole new pass...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32901