stabsread.c ChangeLog
* stabsread.c (read_type): Fix a bug in enum size calculation.
+Mon Aug 1 13:38:04 1994 Kung Hsu (kung@mexican.cygnus.com)
+
+ * stabsread.c (read_type): Fix a bug in enum size calculation.
+
Mon Aug 1 01:36:13 1994 Jeff Law (law@snake.cs.utah.edu)
* hppa-tdep.c (compare_unwind_entries): Add "const" to both
/* Size specified in a type attribute overrides any other size. */
if (type_size != -1)
- TYPE_LENGTH (type) = type_size / TARGET_CHAR_BIT;
+ TYPE_LENGTH (type) = (type_size + TARGET_CHAR_BIT - 1) / TARGET_CHAR_BIT;
return type;
}