This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: attribute to reverse bitfield allocations
- From: Mike Stump <mikestump at comcast dot net>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jon Grant <jg at jguk dot org>
- Date: Mon, 11 Jul 2011 14:22:18 -0700
- Subject: Re: RFC: attribute to reverse bitfield allocations
- References: <201103092245.p29MjZQ5018956@greed.delorie.com> <201107112052.p6BKqICk017576@greed.delorie.com>
On Jul 11, 2011, at 1:52 PM, DJ Delorie wrote:
> Finally getting around to writing this one. The idea is to have an
> attribute which determines how bitfields are allocated
:-) Apple has one of these sorts of creatures. You can see the code in the Apple tree, marked by APPLE LOCAL {begin ,end ,}bitfield reversal. Your code looks much nicer than the Apple code, I hope it works as well.