This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262813 - in /branches/gcc-8-branch/gcc: ada/Ch...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2018 10:09:47 -0000
- Subject: r262813 - in /branches/gcc-8-branch/gcc: ada/Ch...
Author: ebotcazou
Date: Tue Jul 17 10:09:46 2018
New Revision: 262813
URL: https://gcc.gnu.org/viewcvs?rev=262813&root=gcc&view=rev
Log:
* 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.
Added:
branches/gcc-8-branch/gcc/testsuite/gnat.dg/discr55.adb
- copied unchanged from r262812, trunk/gcc/testsuite/gnat.dg/discr55.adb
Modified:
branches/gcc-8-branch/gcc/ada/ChangeLog
branches/gcc-8-branch/gcc/ada/gcc-interface/decl.c
branches/gcc-8-branch/gcc/ada/gcc-interface/utils.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog