mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* dwarf2read.c (read_subrange_type): Add comment for variable
sized arrays.
This commit is contained in:
@@ -4610,6 +4610,9 @@ read_subrange_type (struct die_info *die, struct dwarf2_cu *cu)
|
||||
low = 1;
|
||||
}
|
||||
|
||||
/* FIXME: For variable sized arrays either of these could be
|
||||
a variable rather than a constant value. We'll allow it,
|
||||
but we don't know how to handle it. */
|
||||
attr = dwarf2_attr (die, DW_AT_lower_bound, cu);
|
||||
if (attr)
|
||||
low = dwarf2_get_attr_constant_value (attr, 0);
|
||||
|
||||
Reference in New Issue
Block a user