[Ada] Fix access to uninitialized global variable when emitting error
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 24 Jun 2020 17:18:19 +0000 (19:18 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 15 Oct 2020 09:39:12 +0000 (05:39 -0400)
commite4f503be5d8f4b6f985f91ffe8a42ed9663466b3
tree011fa2253489e87e1adfe32feb96472a878e7f7d
parenta0a294d3eb78eac2932756a6de8372a8de947567
[Ada] Fix access to uninitialized global variable when emitting error

gcc/ada/

* sem_util.adb (Bad_Predicated_Subtype_Use): Emit an
unconditional error, not a conditional warning.
gcc/ada/sem_util.adb