[Ada] Work around problematic interaction with public symbol generation
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 11 Apr 2020 16:28:49 +0000 (18:28 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 17 Jun 2020 08:14:03 +0000 (04:14 -0400)
commitd27ec3f60a3ac5eab05765cbbf45083e4e3dabc6
tree3652a40c10e6e19d46cab09d6466cc45511342b9
parent940eb45810712925fbc10a39b243b7ec001085ec
[Ada] Work around problematic interaction with public symbol generation

2020-06-17  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* exp_attr.adb (Expand_N_Attribute_Reference) <Attribute_First>:
Do not replace the bound for an array type if it is public.
gcc/ada/exp_attr.adb