diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-07-24 15:02:25 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-08-03 14:07:36 +0200 |
commit | 5825635336fec18a26cd17cf47ccf97ed8eb2756 (patch) | |
tree | f6fcd218003a53e362b7faaa6c86d4af67871b19 /gcc/value-range.h | |
parent | 46c8c225455273ce7f7da7cc5707aed54f23e78d (diff) | |
download | gcc-5825635336fec18a26cd17cf47ccf97ed8eb2756.zip gcc-5825635336fec18a26cd17cf47ccf97ed8eb2756.tar.gz gcc-5825635336fec18a26cd17cf47ccf97ed8eb2756.tar.bz2 |
ada: Adjust again address arithmetics in System.Dwarf_Lines
Using the operator of System.Storage_Elements has introduced a range check
that may be tripped on, so this removes the intermediate conversion to the
Storage_Count subtype that is responsible for it.
gcc/ada/
* libgnat/s-dwalin.adb ("-"): New subtraction operator.
(Enable_Cache): Use it to compute the offset.
(Symbolic_Address): Likewise.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions