]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (choices_to_gnu): Rename parameters.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 17 Jul 2018 10:12:02 +0000 (10:12 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 17 Jul 2018 10:12:02 +0000 (10:12 +0000)
commit6044cc4858ce4965f2316c7e972d16162378e938
tree0ac7589efbe93a008338fb98cfd2b910d3fea3cf
parent56dbe683db7fe38dfeff73d74fcbfb9d8559aa10
decl.c (choices_to_gnu): Rename parameters.

* gcc-interface/decl.c (choices_to_gnu): Rename parameters.  Deal with
an operand of Character type.  Factor out range generation to the end.
Check that the bounds are literals and convert them to the type of the
operand before building the ranges.
* gcc-interface/utils.c (make_dummy_type): Minor tweak.
(make_packable_type): Propagate TYPE_DEBUG_TYPE.
(maybe_pad_type): Likewise.

From-SVN: r262814
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr55.adb [new file with mode: 0644]