aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-04-24 07:09:22 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-04-24 07:09:22 +0000
commit6f61bd412437337e11b367edfb0b8f48ba70f94c (patch)
tree0ab8f62695943723e2cff3e7a6ef5922b0016e03 /gcc/ada/gcc-interface/decl.c
parent0d858698b6741132801b03c09901c56cd78e5083 (diff)
downloadgcc-6f61bd412437337e11b367edfb0b8f48ba70f94c.zip
gcc-6f61bd412437337e11b367edfb0b8f48ba70f94c.tar.gz
gcc-6f61bd412437337e11b367edfb0b8f48ba70f94c.tar.bz2
gigi.h (build_call_alloc_dealloc): Update comment.
* gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment. * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct arguments to build_allocator. * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment. Remove code handling special allocator and assert its uselessness. From-SVN: r146671
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
-rw-r--r--gcc/ada/gcc-interface/decl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c
index bc44fa0..c25fb91 100644
--- a/gcc/ada/gcc-interface/decl.c
+++ b/gcc/ada/gcc-interface/decl.c
@@ -1199,8 +1199,9 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
post_error ("?Storage_Error will be raised at run-time!",
gnat_entity);
- gnu_expr = build_allocator (gnu_alloc_type, gnu_expr, gnu_type,
- 0, 0, gnat_entity, mutable_p);
+ gnu_expr
+ = build_allocator (gnu_alloc_type, gnu_expr, gnu_type,
+ Empty, Empty, gnat_entity, mutable_p);
}
else
{