diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2009-01-28 02:55:20 +0000 |
---|---|---|
committer | Adam Nemet <nemet@gcc.gnu.org> | 2009-01-28 02:55:20 +0000 |
commit | bee6fa6d32b8a231cae2af0cf700456d827a507e (patch) | |
tree | f191db5683ac9ece9c05e4e999f873fb140b3fa0 /gcc/c.opt | |
parent | 2b5ba03731292c4e012be4acc95e81d488af1771 (diff) | |
download | gcc-bee6fa6d32b8a231cae2af0cf700456d827a507e.zip gcc-bee6fa6d32b8a231cae2af0cf700456d827a507e.tar.gz gcc-bee6fa6d32b8a231cae2af0cf700456d827a507e.tar.bz2 |
c.opt (Wpacked-bitfield-compat): Change init value to -1.
* 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.
From-SVN: r143718
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -365,7 +365,7 @@ C ObjC Var(warn_override_init) Init(-1) Warning Warn about overriding initializers without side effects Wpacked-bitfield-compat -C ObjC C++ ObjC++ Var(warn_packed_bitfield_compat) Init(1) Warning +C ObjC C++ ObjC++ Var(warn_packed_bitfield_compat) Init(-1) Warning Warn about packed bit-fields whose offset changed in GCC 4.4 Wparentheses |