decl.c (maybe_saturate_size): New function.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 30 Aug 2019 15:32:51 +0000 (15:32 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 30 Aug 2019 15:32:51 +0000 (15:32 +0000)
commit875bdbe2f6d2d54f0ccefd27cea3a533fef834eb
tree9a2afaa36f69c5a449b22f5fa5b624fe3824adb2
parentf76cf133e283a99c8b39fb52c4a27fbac59b4c66
decl.c (maybe_saturate_size): New function.

* gcc-interface/decl.c (maybe_saturate_size): New function.
(gnat_to_gnu_entity): Invoke it on the Esize of types before sending
it for back-annotations.
* gcc-interface/trans.c: Fix typo.

From-SVN: r275200
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c