aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-path.cc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2021-10-27 10:33:32 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2021-11-09 09:44:48 +0000
commitf4665dc4fb511a40a104f1986488861fee8b24f7 (patch)
tree9d42d051fb77340faa716411974bf06426bcd75d /gcc/gimple-range-path.cc
parentadc9410f95e3712f3f2fc4fe0e4a356af605fcd3 (diff)
downloadgcc-f4665dc4fb511a40a104f1986488861fee8b24f7.zip
gcc-f4665dc4fb511a40a104f1986488861fee8b24f7.tar.gz
gcc-f4665dc4fb511a40a104f1986488861fee8b24f7.tar.bz2
[Ada] Reference in Unbounded_String is almost never null
gcc/ada/ * libgnat/a-strunb.adb (Deallocate): Rename Reference_Copy to Old, to make the code similar to other routines in this package. (Realloc_For_Chunk): Use a temporary, deallocate the previous string using a null-allowing copy of the string reference.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions