aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch3.adb
diff options
context:
space:
mode:
authorVadim Godunko <godunko@adacore.com>2023-02-15 12:22:27 +0400
committerMarc Poulhiès <poulhies@adacore.com>2023-05-23 09:59:06 +0200
commit9826f1e019f6abc5f4960dcfd8f7fcf83dc820dc (patch)
treefb608860fcada77aa840a7da22d0898e2454027d /gcc/ada/sem_ch3.adb
parentae8f82fd03400fd7460745c13f81a7e740a8cdb7 (diff)
downloadgcc-9826f1e019f6abc5f4960dcfd8f7fcf83dc820dc.zip
gcc-9826f1e019f6abc5f4960dcfd8f7fcf83dc820dc.tar.gz
gcc-9826f1e019f6abc5f4960dcfd8f7fcf83dc820dc.tar.bz2
ada: Remove unnecessary call to Detach.
Holder object is constant and protected from modification by tampering rules. gcc/ada/ * libgnat/a-coinho__shared.adb (Constant_Reference): Remove call of Detach (Query_Element): Likewise.
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions