diff options
author | Ed Schonberg <schonberg@adacore.com> | 2018-12-11 11:12:21 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-12-11 11:12:21 +0000 |
commit | c13269965084ccb19233411164b52c7f187a5fb6 (patch) | |
tree | 5a7082978db677b3f2f747204dd384466001007d /gcc/tree-loop-distribution.c | |
parent | 2f42b6ead47da2c5d863042de6689aee64d342b3 (diff) | |
download | gcc-c13269965084ccb19233411164b52c7f187a5fb6.zip gcc-c13269965084ccb19233411164b52c7f187a5fb6.tar.gz gcc-c13269965084ccb19233411164b52c7f187a5fb6.tar.bz2 |
[Ada] Unnesting: do not eliminate subprogram whose address is taken
2018-12-11 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* exp_unst.adb (Register_Subprogram): A subprogram whose address
is taken (through attribute Address or Access) is reachable and
cannot be eliminated, even if there is no explicit call to it:
the address may be used in an indirect call or in some
address-related operation.
From-SVN: r267014
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions