diff options
Diffstat (limited to 'gcc/ada/sem_res.adb')
-rw-r--r-- | gcc/ada/sem_res.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_res.adb b/gcc/ada/sem_res.adb index 4bbec65..b54ed93 100644 --- a/gcc/ada/sem_res.adb +++ b/gcc/ada/sem_res.adb @@ -5622,7 +5622,7 @@ package body Sem_Res is -- caller does use an allocator, it will be caught at the call site. if No_Pool_Assigned (Typ) - and then not Alloc_For_BIP_Return (N) + and then not For_Special_Return_Object (N) then Error_Msg_N ("allocation from empty storage pool!", N); |