[Ada] Fix small fallout of previous change for allocator
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 2 May 2020 09:35:42 +0000 (11:35 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 19 Jun 2020 08:17:25 +0000 (04:17 -0400)
commit1e400f33e172020a4a3e357ee99c63e3ee97376d
tree9caa8bd6d1247b80869fb36ccbc0c6ae574ef0c4
parente3c1f8dd0502c22c9ad47b360a65405ae9b87b23
[Ada] Fix small fallout of previous change for allocator

2020-06-19  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* sem_res.adb (Resolve_Qualified_Expression): Do not override the
type of the node when it is unconstrained if it is for an allocator.
gcc/ada/sem_res.adb