]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix awkward placement of freeze node for actual subtype
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Oct 2019 15:24:38 +0000 (15:24 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Oct 2019 15:24:38 +0000 (15:24 +0000)
commit893978514a675f1ca4ab1764874433d3c5b87cbe
treeb295ef1b31d93d98e07348986e0b442bdc77ea08
parentd7b7e395d50f6c07c750e2b2ed72b1095bcb5696
[Ada] Fix awkward placement of freeze node for actual subtype

2019-10-10  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* sem_ch6.adb (Set_Actual_Subtypes): Put the freeze node of the
actual subtype after its declaration when the type of the formal
has a predicate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276828 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/sem_ch6.adb