gdb/
[deliverable/binutils-gdb.git] / gdb / stabsread.c
index ac82652bac68ad9a1f02b21d8ee6b6d2db2fe2c0..39e0d7b7278cedf3588f99d4f7703ee6f19f7017 100644 (file)
@@ -3730,7 +3730,7 @@ read_enum_type (char **pp, struct type *type,
 
          SYMBOL_TYPE (xsym) = type;
          TYPE_FIELD_NAME (type, n) = SYMBOL_LINKAGE_NAME (xsym);
-         TYPE_FIELD_BITPOS (type, n) = SYMBOL_VALUE (xsym);
+         SET_FIELD_BITPOS (TYPE_FIELD (type, n), SYMBOL_VALUE (xsym));
          TYPE_FIELD_BITSIZE (type, n) = 0;
        }
       if (syms == osyms)
This page took 0.024456 seconds and 4 git commands to generate.