[Ada] Remove extra validity check in case statement
authorArnaud Charlet <charlet@adacore.com>
Mon, 13 Jul 2020 12:14:20 +0000 (08:14 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 20 Oct 2020 07:21:31 +0000 (03:21 -0400)
commitbc60bb5eb9b18315b1af7ffa408969690720f8b1
treeae8e307920d592949bd418df1f0f85427333a08b
parentf3f1debe1b79b736cb1a29a11c06f63cee92ad06
[Ada] Remove extra validity check in case statement

gcc/ada/

* exp_ch5.adb (Expand_N_Case_Statement): Do not generate
validity check when possible.
gcc/ada/exp_ch5.adb