[Ada] Assert failure with -gnatwr
authorArnaud Charlet <charlet@adacore.com>
Wed, 3 Jun 2020 16:27:43 +0000 (12:27 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 15 Jul 2020 13:42:51 +0000 (09:42 -0400)
commitd15dc6fb72720d3ff499e2da9ba43eceaf4a8b04
tree9e35e80a2b54cc0983ddd51c7df284e0407ecc99
parent00847335c80917e731f2999bf447319290c70718
[Ada] Assert failure with -gnatwr

gcc/ada/

* sem_res.adb (Resolve_Type_Conversion): Protect against null
entity.  Add proper tag for -gnatwr warning.
gcc/ada/sem_res.adb