On 02/20/2014 08:23 AM, Eric Wong wrote:
> Eric Wong <normalperson / yhbt.net> wrote:
>> 	* configure.in: use -Wno-packed-bitfield-compat for GCC 4.4+
>> 	  use __attribute__((packed)) if available
>> 	* timev.h: shrink and pack struct vtm
>> 	* time.c: pack struct time_object and adjust/introduce helpers
>>
>> patch: http://bogomips.org/ruby.git/patch?id=6081635e7
> 
> Btw, I'll commit this in a few days unless there are objections.
> I've tested this on old gcc 4.2.1 and clang 3.3 on FreeBSD 9.2, too.

I didn't seriously check if those second arguments to obj2ubits() are sane,
but otherwise the patch seems OK.