2014-07-29 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jul 2014 13:26:20 +0000 (13:26 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jul 2014 13:26:20 +0000 (13:26 +0000)
commit4d0944e9c85825bf49a6468ee5f9373f45299c71
treeace0763eacf78c09295e90e44f0533b58c0af195
parent1e4f3cfbad4bd20be4853c7cf733acd34f0a4416
2014-07-29  Ed Schonberg  <schonberg@adacore.com>

* sem_ch6.adb (Check_Return_Subtype_Indication): Reject a return
subtype indication in an extended return statement when the
return value is an ancestor of the return type of the function,
and that return type is a null record extension.

2014-07-29  Thomas Quinot  <quinot@adacore.com>

* sem_ch13.adb (Rep_Item_Too_Late): Specialize/clarify error
message produced for the case of a type-related representation
item that is made illegal by 13.10(1).
* gnat_rm.texi (Scalar_Storage_Order): Minor change in
documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213173 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gnat_rm.texi
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch6.adb