r235238 - in /trunk/gcc/ada: ChangeLog sem_ch13...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Wed Apr 20 08:59:00 GMT 2016
Author: charlet
Date: Wed Apr 20 08:59:02 2016
New Revision: 235238
URL: https://gcc.gnu.org/viewcvs?rev=235238&root=gcc&view=rev
Log:
2016-04-20 Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch13.adb (Add_Invariant): Do not replace
the saved expression of an invariatn aspect when inheriting
a class-wide type invariant as this clobbers the existing
expression. Do not use New_Copy_List as it is unnecessary
and leaves the parent pointers referencing the wrong part of
the tree. Do not replace the type references for ASIS when
inheriting a class-wide type invariant as this clobbers the
existing replacement.
2016-04-20 Ed Schonberg <schonberg@adacore.com>
* sem_util.adb (Build_Explicit_Dereference): If the designated
expression is an entity name, generate reference to the entity
because it will not be resolved again.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_ch13.adb
trunk/gcc/ada/sem_util.adb
More information about the Gcc-cvs
mailing list