[Ada] Don't build equivalent record aggregate if type has predicates
authorGhjuvan Lacambre <lacambre@adacore.com>
Wed, 11 Mar 2020 07:55:56 +0000 (08:55 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 10 Jun 2020 13:35:02 +0000 (09:35 -0400)
commit8439cae845f2148c2df5aefa120b968ec73dd07e
tree9c3268fba31950e2dfafbe0921e534dfcf964041
parent76e0721abb9283c9127921850bee619f354701c9
[Ada] Don't build equivalent record aggregate if type has predicates

2020-06-10  Ghjuvan Lacambre  <lacambre@adacore.com>

gcc/ada/

* exp_ch3.adb (Build_Equivalent_Record_Aggregate): Return Empty
if Etype of record component has predicates.
gcc/ada/exp_ch3.adb