[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Feb 2013 10:00:38 +0000 (11:00 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Feb 2013 10:00:38 +0000 (11:00 +0100)
commit1aee1fb38d2776cb3fb336138e77da61aef8aab1
treebba29117d6ac951a5fef1335f9a8704e416b7bc8
parent2ae395d6c2478de339b17ffffdb83144e6518ea9
[multiple changes]

2013-02-06  Gary Dismukes  <dismukes@adacore.com>

* sem_ch6.adb (Check_For_Primitive_Subprogram): Test for
the special case of a user-defined equality that overrides
the predefined equality of a nonderived type declared in a
declarative part.
* sem_util.adb (Collect_Primitive_Operations): Add test for
Is_Primitive when looping over the subprograms following a type,
to catch the case of primitives such as a user-defined equality,
which otherwise won't be found when the type is not a derived
type and is declared in a declarative part.

2013-02-06  Vincent Celier  <celier@adacore.com>

* prj-conf.adb (Check_Target): Always return True when Target
is empty (Get_Or_Create_Configuration_File.Get_Project_Target):
New procedure to get the value of attribute Target in the main
project.
(Get_Or_Create_Configuration_File.Do_Autoconf): No
need to get the value of attribute Target in the main project.
(Get_Or_Create_Configuration_File): Call Get_Project_Target and
use the target fom this call.

2013-02-06  Eric Botcazou  <ebotcazou@adacore.com>

* erroutc.adb (Validate_Specific_Warning): Do not issue the
warning about an ineffective Pragma Warnings for -Wxxx warnings.
* sem_prag.adb (Analyze_Pragma) <Warnings>: Accept -Wxxx warnings.
* gnat_rm.texi (Pragma Warnings): Document coordination with
warnings of the GCC back-end.

From-SVN: r195786
gcc/ada/ChangeLog
gcc/ada/erroutc.adb
gcc/ada/gnat_rm.texi
gcc/ada/prj-conf.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_util.adb