aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-05-07 22:52:18 +0200
committerEric Botcazou <ebotcazou@adacore.com>2021-05-07 23:00:18 +0200
commit7c4c9fcc0de865876fb25fe75f4ed6e143bd48c0 (patch)
treef9b34d8fe214acb259b132a0b0af7a519f030910 /libstdc++-v3/include/std
parent14b0f37a644d7b59e1737fb275ec4fff044972a8 (diff)
downloadgcc-7c4c9fcc0de865876fb25fe75f4ed6e143bd48c0.zip
gcc-7c4c9fcc0de865876fb25fe75f4ed6e143bd48c0.tar.gz
gcc-7c4c9fcc0de865876fb25fe75f4ed6e143bd48c0.tar.bz2
Fix incorrect array bounds with -fgnat-encodings=minimal in DWARF
This makes add_subscript_info query the get_array_descr_info hook for the actual information when it is defined. gcc/ * cfgexpand.c (expand_gimple_basic_block): Do not inherit a current location for the outgoing edges of an empty block. * dwarf2out.c (add_subscript_info): Retrieve the bounds and index type by means of the get_array_descr_info langhook, if it is set and returns true. Remove obsolete code dealing with unnamed subtypes. gcc/testsuite/ * gnat.dg/debug18.adb: New test.
Diffstat (limited to 'libstdc++-v3/include/std')
0 files changed, 0 insertions, 0 deletions