]> git.ipfire.org Git - thirdparty/gcc.git/commit
[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)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:16:52 +0000 (13:16 -0300)
commit7aea8c2033a34eb45e62eca741d6fe3ff0e4acf0
tree2d0c69c1a50c0b3085bb5eee847bc0727ee1fb2d
parent3aabbc7d979edae5e618776ba865d71f3e586089
[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