2014-10-20 Vincent Celier <celier@adacore.com>
commit85e01c7d8497bacc6b6806640ed23e44ebb8a26e
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Oct 2014 14:32:17 +0000 (20 14:32 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Oct 2014 14:32:17 +0000 (20 14:32 +0000)
treeed65d762a493384828cef0fc9627602ebaf63cda
parent56abc2d4746169306f321d03f1f6f70310ee48d1
2014-10-20  Vincent Celier  <celier@adacore.com>

* prj-attr.adb: New project level attribute Runtime.
* prj-conf.adb (Get_Project_Runtimes): New procedure to get
the attributes Runtime declared in the main project, to use
in auto-configuration.
(Get_Or_Create_Configuration_File): Call Get_Project_Runtimes.
* prj-proc.adb (Runtime_Defaults): New table to store
the default values of attributes Runtime (<language>).
(Set_Default_Runtime_For): New procedure to store the default
value of a Runtime (<language>) in table Runtime_Defaults.
(Expression): Use the value stored in table Runtime_Defaults as
the default for Runtime (<language>).
* prj-proc.ads (Set_Default_Runtime_For): New procedure.
* prj.ads (Attribute_Default_Value): New enumerated value
Runtime_Value.

2014-10-20  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb (Analyze_Object_Declaration): If the type is
an unconstrained unchecked_union type, rewrite declaration
as a renaming to prevent attempt to retrieve non- existent
discriminants from expression.

2014-10-20  Ed Schonberg  <schonberg@adacore.com>

* gnat_ugn.texi: Minor reformatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216479 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gnat_ugn.texi
gcc/ada/prj-attr.adb
gcc/ada/prj-conf.adb
gcc/ada/prj-proc.adb
gcc/ada/prj-proc.ads
gcc/ada/prj.ads
gcc/ada/sem_ch3.adb