[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 20 Nov 2014 15:17:47 +0000 (16:17 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 20 Nov 2014 15:17:47 +0000 (16:17 +0100)
commit596f71394dcedd06ce87e4e7499168aba92d4c7c
tree49280e053832bf89e7eedfcb2935b005943ffa5d
parent7e4f00b47ce58c7a04810c419ff9a70e7bf99186
[multiple changes]

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.

From-SVN: r217874
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