2014-11-07 Hristian Kirtchev <kirtchev@adacore.com>
commite20c756c7a9b6ecbfc8ce0be8df0773e796370c0
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Nov 2014 13:54:09 +0000 (7 13:54 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Nov 2014 13:54:09 +0000 (7 13:54 +0000)
treebf9f208e9a4706f45ebee492df425edd28d13d2a
parent6a492be3423e4c39009a6e714a9a9e69a687c9d8
2014-11-07  Hristian Kirtchev  <kirtchev@adacore.com>

* einfo.adb (Set_Is_Checked_Ghost_Entity,
Set_Is_Ignored_Ghost_Entity): Add exceptions to the assertion
check.
* sem_ch6.adb (Check_Conformance): Consider only
source subprograms when checking for Ghost conformance.
* sem_prag.adb (Analyze_Pragma): Handle the case
where pragma Ghost applies to a stand alone subprogram body that
acts as a compilation unit.
* sem_res.adb: Minor reformatting (merge if statements).

2014-11-07  Ed Schonberg  <schonberg@adacore.com>

* exp_strm.adb (Build_Record_Or_Elementary_Input_Function):
Check whether underlying type is constrained before generating
the object declaration for the result object of the function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217226 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/exp_strm.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_res.adb