summaryrefslogtreecommitdiffstats
path: root/gcc/dwarf.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-20 21:40:30 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-20 21:40:30 +0000
commit9c0f0e88ebccc94a3a422268c469e49093c09f4f (patch)
tree0cfb9ab98ee807bf855b7a54fccfd68f71ac76c8 /gcc/dwarf.h
parent9a356f094bfc599903cc39c58cdfffe0452ce4ef (diff)
downloadppe42-gcc-9c0f0e88ebccc94a3a422268c469e49093c09f4f.tar.gz
ppe42-gcc-9c0f0e88ebccc94a3a422268c469e49093c09f4f.zip
* dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
dwarf_subscr_data_formats bits. * dwarfout.c (simple_type_size_in_bits): Handle a type with no computed size as size zero. (field_byte_offset): Likewise. (subscript_data_attribute): Handle a range with no upper bound. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37592 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf.h')
-rw-r--r--gcc/dwarf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/dwarf.h b/gcc/dwarf.h
index 9d9b96dd997..876bdc0abe5 100644
--- a/gcc/dwarf.h
+++ b/gcc/dwarf.h
@@ -285,10 +285,10 @@ enum dwarf_subscr_data_formats {
/* Derived from above for ease of use. */
-#define FMT_CODE(_FUNDAMENTAL_TYPE_P, _UB_CONST_P, _LB_CONST_P) \
+#define FMT_CODE(_FUNDAMENTAL_TYPE_P, _LB_CONST_P, _UB_CONST_P) \
(((_FUNDAMENTAL_TYPE_P) ? 0 : 4) \
- | ((_UB_CONST_P) ? 0 : 2) \
- | ((_LB_CONST_P) ? 0 : 1))
+ | ((_LB_CONST_P) ? 0 : 2) \
+ | ((_UB_CONST_P) ? 0 : 1))
/* Source language names and codes. */
OpenPOWER on IntegriCloud