[Ada] Restore access type instead of mode out parameter
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 5 Nov 2020 20:09:28 +0000 (21:09 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 27 Nov 2020 09:16:00 +0000 (04:16 -0500)
commita0f2ee7a7f99f35ef59e125ff046df84a711ebfb
treebb608559b50b7284be5fdd64b89426a2349b4ede
parenta873cb9978cec9b70b04daa2acb3a9dfb33110d2
[Ada] Restore access type instead of mode out parameter

gcc/ada/

* sem_eval.ads (Compile_Time_Compare): Restore parameter Diff to
be of an access type.
* sem_eval.adb (Compile_Time_Compare): Adapt body and callers.
* sem_attr.adb (Eval_Attribute): Adapt callers.
gcc/ada/sem_attr.adb
gcc/ada/sem_eval.adb
gcc/ada/sem_eval.ads