ada: Fix wrong size value output with -gnatR -gnatc
commit7eaf95689bf495ab07473951ededa835eb618123
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 16 Nov 2023 09:29:23 +0000 (16 10:29 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 28 Nov 2023 09:35:48 +0000 (28 10:35 +0100)
treee3f7de0381a823316465218c840a545f10484f21
parent60123b134bf3d925c5d696b5fcd9adfc8f4b54e7
ada: Fix wrong size value output with -gnatR -gnatc

This happens when a parameter is involved in the computation.

gcc/ada/

* gcc-interface/decl.cc (annotate_value): Apply the same processing
for parameters as for variables.
gcc/ada/gcc-interface/decl.cc