r251763 - in /trunk/gcc/ada: ChangeLog exp_ch4....
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Wed Sep 6 09:54:00 GMT 2017
Author: charlet
Date: Wed Sep 6 09:54:26 2017
New Revision: 251763
URL: https://gcc.gnu.org/viewcvs?rev=251763&root=gcc&view=rev
Log:
2017-09-06 Eric Botcazou <ebotcazou@adacore.com>
* sem_ch7.adb (Has_Referencer): Move up and expand comment
explaining the test used to detect inlining. Use same test
in second occurrence.
(Analyze_Package_Body_Helper): Minor formatting fixes.
2017-09-06 Ed Schonberg <schonberg@adacore.com>
* exp_ch4.adb (Handle_Changed_Representation): For an untagged
derived type with a mixture of renamed and constrained parent
discriminants, the constraint for the target must obtain the
discriminant values from both the operand and from the stored
constraint for it, given that the constrained discriminants are
not visible in the object.
* exp_ch5.adb (Make_Field_Assign): The type of the right-hand
side may be derived from that of the left-hand side (as in the
case of an assignment with a change of representation) so the
discriminant to be used in the retrieval of the value of the
component must be the entity in the type of the right-hand side.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_ch4.adb
trunk/gcc/ada/exp_ch5.adb
trunk/gcc/ada/sem_ch7.adb
More information about the Gcc-cvs
mailing list