This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't ignore packed on char bitfields (4.0 regression)
Adam Nemet <anemet@caviumnetworks.com> writes:
> * c.opt (Wpacked-bitfield-compat): Change init value to -1.
> * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
> was not supplied then set warn_packed_bitfield_compat to the
> default value of 1.
> * stor-layout.c (place_field): Check warn_packed_bitfield_compat
> against 1.
This is OK.
Thanks.
Ian