[Ada] Do not apply constraint checks on allocator with No_Initialization
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 24 May 2020 13:23:42 +0000 (15:23 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 8 Jul 2020 14:55:55 +0000 (10:55 -0400)
commit9e8102b350742f09e8c122f3d3ee3f9f2ce4abd4
treee98db1487fdfe0bdf1b8009a52da5ce01147da91
parentd387808d8bd4e6eda08dd5f1661c1c70a6c9a1b2
[Ada] Do not apply constraint checks on allocator with No_Initialization

gcc/ada/

* exp_ch4.adb (Expand_N_Allocator): In the subtype mark case, do
not apply constraint checks if the No_Initialization flag is set.
gcc/ada/exp_ch4.adb