[Ada] Remove excessive guards in building predicate functions
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 9 Jul 2020 20:16:46 +0000 (22:16 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 19 Oct 2020 09:53:40 +0000 (05:53 -0400)
commite4a238d283078c7a51eb1cc066284525ff59bf5a
tree2de07cef22cb48245905211a7329a6a378551bde
parent5ad0303141a1632004ef0ba7f57e6a0253db0923
[Ada] Remove excessive guards in building predicate functions

gcc/ada/

* sem_ch13.adb (Add_Call): Remove excessive condition and
unnecessary call to Set_Has_Predicates.
gcc/ada/sem_ch13.adb