r191919 - in /trunk/gcc/ada: ChangeLog checks.a...

charlet@gcc.gnu.org charlet@gcc.gnu.org
Mon Oct 1 13:15:00 GMT 2012


Author: charlet
Date: Mon Oct  1 13:15:21 2012
New Revision: 191919

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191919
Log:
2012-10-01  Robert Dewar  <dewar@adacore.com>

	* checks.adb (Minimize_Eliminate_Overflow_Checks): Changes
	for exponentiation.
	* exp_ch4.adb (Expand_N_Op_Expon): Changes for Minimize/Eliminate
	overflow checks.
	* s-bignum.adb (Compare): Fix bad precondition.

2012-10-01  Ed Schonberg  <schonberg@adacore.com>

	* sem_ch3.adb (Build_Derived_Record_Type): If the derived
	type has new discriminantss that constrain inherited ones, use
	the discriminant type in the original declaration to check for
	conformance, because in the presence of array components with a
	smaller range that are constrained by the origina discriminant,
	the compiler will have created a narrower subtype for that
	discriminant.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/checks.adb
    trunk/gcc/ada/exp_ch4.adb
    trunk/gcc/ada/s-bignum.adb
    trunk/gcc/ada/sem_ch3.adb



More information about the Gcc-cvs mailing list