r261482 - in /branches/gcc-7-branch/gcc/ada: Ch...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Tue Jun 12 10:09:00 GMT 2018
Author: ebotcazou
Date: Tue Jun 12 10:09:20 2018
New Revision: 261482
URL: https://gcc.gnu.org/viewcvs?rev=261482&root=gcc&view=rev
Log:
Backpor from mainline
2018-06-02 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Constant>: If this is
not a definition, retrieve the expression only if it's a compile-time
known value if we are just annotating types.
* gcc-interface/utils.c (convert): Do not try to upcast properly for a
conversion between tagged types in type_annotate_only mode.
Modified:
branches/gcc-7-branch/gcc/ada/ChangeLog
branches/gcc-7-branch/gcc/ada/gcc-interface/decl.c
branches/gcc-7-branch/gcc/ada/gcc-interface/utils.c
More information about the Gcc-cvs
mailing list