aboutsummaryrefslogtreecommitdiff
path: root/gcc/read-rtl-function.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-09-06 11:16:08 +0200
committerEric Botcazou <ebotcazou@adacore.com>2021-09-06 11:18:06 +0200
commitc0b03afeab4502da3040ef1ebbd28f826737fa8a (patch)
tree1af09fe1972c1ae866af8488939da17be43da15e /gcc/read-rtl-function.c
parent8a4602c2e0f81895415ba7ee23bf81dc795d1103 (diff)
downloadgcc-c0b03afeab4502da3040ef1ebbd28f826737fa8a.zip
gcc-c0b03afeab4502da3040ef1ebbd28f826737fa8a.tar.gz
gcc-c0b03afeab4502da3040ef1ebbd28f826737fa8a.tar.bz2
Fix debug info for packed array types in Ada
Packed array types are sometimes represented with integer types under the hood in Ada, but we nevertheless need to emit them as array types in the debug info so we have the types.get_array_descr_info langhook for this purpose; but it is not invoked from modified_type_die, which causes: FAIL: gdb.ada/arrayptr.exp: scenario=minimal: print pa_ptr.all FAIL: gdb.ada/arrayptr.exp: scenario=minimal: print pa_ptr.all(3) in the GDB testsuite. gcc/ * dwarf2out.c (modified_type_die): Deal with all array types earlier and use local variable consistently throughout the function.
Diffstat (limited to 'gcc/read-rtl-function.c')
0 files changed, 0 insertions, 0 deletions