diff options
author | nemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-28 02:55:20 +0000 |
---|---|---|
committer | nemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-28 02:55:20 +0000 |
commit | 7a6a48c91e53d93d2871973060acebe4f493d502 (patch) | |
tree | f191db5683ac9ece9c05e4e999f873fb140b3fa0 /gcc/c.opt | |
parent | 2705f6ddc62adf34e6278721e53d510b83fe6068 (diff) | |
download | gcc-7a6a48c91e53d93d2871973060acebe4f493d502.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143718 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c.opt b/gcc/c.opt index 75b7042dfb1..e512ec66394 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -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 |