]> git.ipfire.org Git - thirdparty/gcc.git/commit
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 6 Sep 2011 08:27:42 +0000 (10:27 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 6 Sep 2011 08:27:42 +0000 (10:27 +0200)
commit57a3fca931cc9e6d2e993d86f6366d875dfb9ebd
treed57415deba478b529682df5010306caf0e0b0a0f
parenteaed0c37779f8cf403921cda1f63d14c1f14a914
[multiple changes]

2011-09-06  Robert Dewar  <dewar@adacore.com>

* exp_ch7.adb, g-comlin.adb: Minor reformatting.

2011-09-06  Steve Baird  <baird@adacore.com>

* exp_ch4.adb (Expand_Allocator_Expression): Look through
derived subprograms in checking for presence of an
Extra_Accessibility_Of_Result formal parameter.
* exp_ch6.adb (Expand_Call): Look through derived subprograms in
checking for presence of an Extra_Accessibility_Of_Result formal
parameter.
(Expand_Call.Add_Actual_Parameter): Fix a bug in the
case where the Parameter_Associatiations attribute is already set,
but set to an empty list.
(Needs_Result_Accessibility_Level):
Unconditionally return False. This is a temporary
change, disabling the Extra_Accessibility_Of_Result
mechanism.
(Expand_Simple_Function_Return): Check for
Extra_Accessibility_Of_Result parameter's presence instead of
testing Ada_Version when generating a runtime accessibility
check which makes use of the parameter.

From-SVN: r178571
gcc/ada/ChangeLog
gcc/ada/exp_ch4.adb
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch7.adb
gcc/ada/g-comlin.adb