[Ada] Add No_Truncation flag on view conversion for GNAT-LLVM
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 30 Jan 2020 20:48:27 +0000 (21:48 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 5 Jun 2020 12:17:35 +0000 (08:17 -0400)
commitefd0843da81aafee053afe573bfa944bbd1ee32b
tree268f2edbc849dbee3860692987323b0df37cba4c
parent5620a9cd825f48f2ffa123de7c35a69f1dcd975f
[Ada] Add No_Truncation flag on view conversion for GNAT-LLVM

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

gcc/ada/

* exp_attr.adb (Expand_N_Attribute_Reference) <Valid_Scalars>:
Set the No_Truncation flag on the unchecked conversion built for
scalar types.
gcc/ada/exp_attr.adb