2014-11-20 Robert Dewar <dewar@adacore.com>
commitf5240217d5c268328c628ff4a515321fee0fdd1f
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2014 15:17:47 +0000 (20 15:17 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2014 15:17:47 +0000 (20 15:17 +0000)
tree49280e053832bf89e7eedfcb2935b005943ffa5d
parent5e1428a83a7de1aacd91fd8a97e31f7b6d0a56a1
2014-11-20  Robert Dewar  <dewar@adacore.com>

* s-tassta.adb, exp_aggr.adb, s-taskin.adb, exp_strm.adb: Minor
reformatting.
* comperr.adb (Compiler_Abort): New wording for bug box.
* par-ch13.adb: Minor reformatting.
* par-ch3.adb (P_Identifier_Declarations): Handle aspect
specifications given before initialization expression in object
declaration cleanly.
* gnat1drv.adb (Adjust_Global_Switches): Make sure static
elaboration mode is set if we are operating in SPARK mode.
* sem_ch12.adb (Analyze_Package_Instantiation): Make
sure static elab mode is set if we are in SPARK mode.
(Analyze_Subprogram_Instantiation): ditto.
(Set_Instance_Env): ditto.
* sem_elab.adb (Check_A_Call): In SPARK mode, we require
Elaborate_All in the case of a call during elaboration to a
subprogram in another unit.

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

* inline.adb (Can_Split_Unconstrained_Function,
Build_Procedure): Copy parameter type rather than creating
reference to the entity, to capture class-wide reference, whose
name is not retrieved by visibility.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217874 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/ada/ChangeLog
gcc/ada/comperr.adb
gcc/ada/exp_aggr.adb
gcc/ada/exp_strm.adb
gcc/ada/gnat1drv.adb
gcc/ada/inline.adb
gcc/ada/par-ch13.adb
gcc/ada/par-ch3.adb
gcc/ada/s-taskin.adb
gcc/ada/s-tassta.adb
gcc/ada/sem_ch12.adb
gcc/ada/sem_elab.adb