aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/gdbtypes.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 3a4d644..751f21b 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -1488,7 +1488,9 @@ struct type
value of 1 means the alignment is 1, and a value of 9 means the
alignment is 256. */
- unsigned align_log2 : TYPE_ALIGN_BITS;
+ struct {
+ unsigned align_log2 : TYPE_ALIGN_BITS;
+ };
/* * Flags specific to this instance of the type, indicating where
on the ring we are.
@@ -1500,7 +1502,9 @@ struct type
instance flags are completely inherited from the target type. No
qualifiers can be cleared by the typedef. See also
check_typedef. */
- unsigned m_instance_flags : 9;
+ struct {
+ unsigned m_instance_flags : 9;
+ };
/* * Length of storage for a value of this type. The value is the
expression in host bytes of what sizeof(type) would return. This