diff options
author | Bob Duff <duff@adacore.com> | 2018-07-31 09:55:11 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-07-31 09:55:11 +0000 |
commit | e78c79ff53c9370b5438d7f8b9f7096103ee0d44 (patch) | |
tree | 75802caed9b5edc54cd98f45ed61025710a597b2 /gcc/ada/lib-xref.adb | |
parent | 1102fd64dbb76784ed46ff81bf905f6c52d296fc (diff) | |
download | gcc-e78c79ff53c9370b5438d7f8b9f7096103ee0d44.zip gcc-e78c79ff53c9370b5438d7f8b9f7096103ee0d44.tar.gz gcc-e78c79ff53c9370b5438d7f8b9f7096103ee0d44.tar.bz2 |
[Ada] Spurious error -- "allocation from empty storage pool"
This patch fixes a bug in which if "pragma Default_Storage_Pool (null);"
is given, then a build-in-place function will get an incorrect error
message "allocation from empty storage pool" even though there is no
such allocation in the source program.
2018-07-31 Bob Duff <duff@adacore.com>
gcc/ada/
* sem_res.adb (Resolve_Allocator): Do not complain about the
implicit allocator that occurs in the expansion of a return
statement for a build-in-place function.
From-SVN: r263088
Diffstat (limited to 'gcc/ada/lib-xref.adb')
0 files changed, 0 insertions, 0 deletions