diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-07-04 12:14:03 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2022-07-04 12:20:25 +0200 |
commit | 483bd9a02831d9cb615179e5758946f41622d6c9 (patch) | |
tree | 999031b25332e5ac06d902ab0eac05375dbd416b /gcc/tree-vectorizer.h | |
parent | a7ccdfa17e5c45c32828fbeb3642ccdb10caa141 (diff) | |
download | gcc-483bd9a02831d9cb615179e5758946f41622d6c9.zip gcc-483bd9a02831d9cb615179e5758946f41622d6c9.tar.gz gcc-483bd9a02831d9cb615179e5758946f41622d6c9.tar.bz2 |
Use default lower bound for vector types in debug info
Vector types are represented as array types with DW_AT_GNU_vector attribute
in the debug info and a range [0 .. TYPE_VECTOR_SUBPARTS - 1]. Now that's
obviously skewed toward the C family of languages, therefore the attached
patch changes the lower bound to the default for the language of the CU.
gcc/
* dwarf2out.cc (gen_array_type_die): Use the default lower bound of
the language for vector types.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions