projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ebf4f3
)
(finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 24 Sep 1996 02:50:55 +0000
(22:50 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 24 Sep 1996 02:50:55 +0000
(22:50 -0400)
(finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value. arbitrary
expression.
From-SVN: r12828
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 039670e18a512068383b5a1bf6f853ddb824a6c5..f1d3ba71a36f387e30e009d26d0fe43770284dcd 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-5664,8
+5664,9
@@
finish_struct (t, fieldlist, attributes)
DECL_ALIGN (x) = MAX (DECL_ALIGN (x), EMPTY_FIELD_BOUNDARY);
#endif
#ifdef PCC_BITFIELD_TYPE_MATTERS
- DECL_ALIGN (x) = MAX (DECL_ALIGN (x),
- TYPE_ALIGN (TREE_TYPE (x)));
+ if (PCC_BITFIELD_TYPE_MATTERS)
+ DECL_ALIGN (x) = MAX (DECL_ALIGN (x),
+ TYPE_ALIGN (TREE_TYPE (x)));
#endif
}
}