[Ada] gnatbind: Fix No_Entry_Calls_In_Elaboration_Code message
authorBob Duff <duff@adacore.com>
Fri, 12 Jun 2020 13:58:24 +0000 (09:58 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 16 Jul 2020 09:18:18 +0000 (05:18 -0400)
commit81fcf43389ea53b223e1c16d60b6d8e735e0a4e4
tree3d224d5989f3da6e5e6bc4515341a43a521dba47
parent47484baae5aa2c74f1b65547f4436baa040b2728
[Ada] gnatbind: Fix No_Entry_Calls_In_Elaboration_Code message

gcc/ada/

* bindo-diagnostics.adb (Output_Invocation_Related_Suggestions):
Use Cumulative_Restrictions.Set, because Restriction_Active only
works at compile time.
gcc/ada/bindo-diagnostics.adb