diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-10-27 10:33:32 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-11-09 09:44:48 +0000 |
commit | f4665dc4fb511a40a104f1986488861fee8b24f7 (patch) | |
tree | 9d42d051fb77340faa716411974bf06426bcd75d /gcc/dumpfile.c | |
parent | adc9410f95e3712f3f2fc4fe0e4a356af605fcd3 (diff) | |
download | gcc-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/dumpfile.c')
0 files changed, 0 insertions, 0 deletions