[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 23 Oct 2015 10:55:10 +0000 (12:55 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 23 Oct 2015 10:55:10 +0000 (12:55 +0200)
commit90e7b5582418912fbd80b0421f8aee92642ad7c2
treedb1a53401009ca517b9063eaaeae05844642654e
parent45fbea4f6603667baa877577a5ccf6326c53babd
[multiple changes]

2015-10-23  Arnaud Charlet  <charlet@adacore.com>

* exp_unst.adb (Unnest_Subprogram): Complete previous
change and update comments.

2015-10-23  Ed Schonberg  <schonberg@adacore.com>

* sem_util.ads, sem_util.adb (Check_Function_With_Address_Parameter):
A subprogram that has an Address parameter and is declared in a Pure
package is not considered Pure, because the parameter may be used as a
pointer and the referenced data may change even if the address value
itself does not.
* freeze.adb (Freeze_Subprogram): use it.
* exp_ch6.adb (Expand_N_Subprogram_Body): Use it.

From-SVN: r229234
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb
gcc/ada/exp_unst.adb
gcc/ada/freeze.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads