2013-02-06 Gary Dismukes <dismukes@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Feb 2013 10:00:38 +0000 (10:00 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Feb 2013 10:00:38 +0000 (10:00 +0000)
commita64d60118fdb40a9558e18f2d58f60cf5d21cf15
treebba29117d6ac951a5fef1335f9a8704e416b7bc8
parent033d5b3bab76fd7f1c65e7effb2b97c0ad4ea658
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195786 138bc75d-0d04-0410-961f-82ee72b054a4
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