projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
c.opt (Wpacked-bitfield-compat): Change init value to -1.
[gcc.git]
/
gcc
/
stor-layout.c
diff --git
a/gcc/stor-layout.c
b/gcc/stor-layout.c
index bf896dbed372e9911d774f46ece79979134031aa..1a33b1c54d65b07f5cfcd180251c26876777b807 100644
(file)
--- a/
gcc/stor-layout.c
+++ b/
gcc/stor-layout.c
@@
-963,7
+963,7
@@
place_field (record_layout_info rli, tree field)
{
if (DECL_PACKED (field))
{
- if (warn_packed_bitfield_compat)
+ if (warn_packed_bitfield_compat
== 1
)
inform
(input_location,
"Offset of packed bit-field %qD has changed in GCC 4.4",