[Ada] Assert failure on incorrect code
authorArnaud Charlet <charlet@adacore.com>
Tue, 23 Jun 2020 07:56:34 +0000 (03:56 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 15 Oct 2020 09:39:09 +0000 (05:39 -0400)
commitcc53bec460f003c34dab20063f1cdd006dd160fb
treeb3702b4eb0ae26ccfe32bc404f5b5010bae5d0f9
parent96ece83775334d8125c16c4c3dcc607b511bc7b2
[Ada] Assert failure on incorrect code

gcc/ada/

* sem_ch12.adb (Reset_Entity): Protect against malformed tree.
gcc/ada/sem_ch12.adb