[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 30 Jan 2012 11:37:42 +0000 (12:37 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 30 Jan 2012 11:37:42 +0000 (12:37 +0100)
commit6d9e03cb09911ae858fa1522f49a06f4fd852879
tree475185cc44f66bd003af193b46819ca464719057
parentb688e030537ddec071ff506e1faf04ffab47f4dd
[multiple changes]

2012-01-30  Yannick Moy  <moy@adacore.com>

* gnat_ugn.texi: Minor correction of GNAT UG, to take into
account changes to -gnatwa and more recent warnings.

2012-01-30  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch7.adb (Build_Finalizer_Call): Do not provide a source
location when creating a call to a finalizer.
* exp_ch11.adb (Expand_Exception_Handlers): Do not provide
a source location for the first actual of Save_Occurrence for
consistency sake.

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

* einfo.ads, einfo,adb: New attribute on scalar types:
Default_Aspect_Value New attribute on  array types:
Default_Aspect_Component_Value Move attribute Related_Array_Object
to a different position to accomodate new aspect attributes.
* freeze.adb (Freeze_Entity): Use new attributes to retrieve value
of defaults set with an aspect specification, rather than using
the list of aspects attached to the type, to prevent issues with
partial views.
* sem_ch13.adb (Analyze_Aspect_Specifications): For aspects
Default_Value and Default_Component _Value, store corresponding
expression in type entity.
(Check_Aspect_At_End_Of_Declaration): If the default aspects
are declared on the full view, use the full view to resolve the
correseponding expression.
* exp_ch3.adb (Init_Component): Use attribute
Default_Aspect_Component_Value to perform default initialization,
rather than relying on the rep item list for the type.
(Get_Simple_Init_Val): Ditto.

From-SVN: r183707
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/einfo.ads
gcc/ada/exp_ch11.adb
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch7.adb
gcc/ada/freeze.adb
gcc/ada/gnat_ugn.texi
gcc/ada/sem_ch13.adb