]> git.ipfire.org Git - thirdparty/gcc.git/commit
sem_attr.adb (Analyze_Attribute, case Max): Check for improper comparison of unordere...
authorRobert Dewar <dewar@adacore.com>
Thu, 6 Feb 2014 14:09:36 +0000 (14:09 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 6 Feb 2014 14:09:36 +0000 (15:09 +0100)
commit428684fd1c052848969dba78f1e09a91fdd7f466
tree4529dfaa3caa730e3a30b99fb46d2380889a1300
parent8c35b40a37767f63bdad36db3bb1c16f3c5f7c6b
sem_attr.adb (Analyze_Attribute, case Max): Check for improper comparison of unordered enumeration type.

2014-02-06  Robert Dewar  <dewar@adacore.com>

* sem_attr.adb (Analyze_Attribute, case Max): Check for improper
comparison of unordered enumeration type.
(Analyze_Attribute, case Max): Check for improper comparison of
unordered enumeration type.
* sem_res.adb (Bad_Unordered_Enumeration_Reference): Moved to
sem_util.adb.
* sem_util.ads, sem_util.adb (Bad_Unordered_Enumeration_Reference):
Moved here from Sem_Res.

From-SVN: r207556
gcc/ada/ChangeLog
gcc/ada/sem_attr.adb
gcc/ada/sem_res.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads