r135638 - in /trunk/gcc/ada: sem_ch3.adb sem_ch...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Tue May 20 12:50:00 GMT 2008
Author: charlet
Date: Tue May 20 12:50:03 2008
New Revision: 135638
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135638
Log:
2008-05-20 Javier Miranda <miranda@adacore.com>
Ed Schonberg <schonberg@adacore.com>
Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch3.adb
(Analyze_Object_Declaration): Fix over-conservative condition
restricting use of predefined assignment with tagged types that have
convention CPP.
(Analyze_Object_Declaration): Relax the check regarding deferred
constants declared in scopes other than packages since they can be
completed with pragma Import.
Add missing escaping of all-caps word 'CPP' in error messages.
(Build_Discriminated_Subtype): Do not inherit representation clauses
from parent type if subtype already carries them, because they are
inherited earlier during derivation and already include those that may
come from a partial view.
* sem_ch9.adb, sem_ch5.adb, sem_ch6.adb (Analyze_Subprogram_Body):
Check the declarations of a subprogram body for proper deferred
constant completion.
* sem_ch7.ads, sem_ch7.adb
(Inspect_Deferred_Constant_Completion): Moved to sem_util.
Modified:
trunk/gcc/ada/sem_ch3.adb
trunk/gcc/ada/sem_ch5.adb
trunk/gcc/ada/sem_ch6.adb
trunk/gcc/ada/sem_ch7.adb
trunk/gcc/ada/sem_ch7.ads
trunk/gcc/ada/sem_ch9.adb
More information about the Gcc-cvs
mailing list