aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2013-05-26 08:55:43 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2013-05-26 08:55:43 +0000
commit0746af5e6219d9dabd84aa865a056e4e8ae27c3d (patch)
tree2ba96ffba3c3470089ec22f415de86bf5b32226d /gcc/ada/gcc-interface/decl.c
parent3fd7a66fddefe6ea59a42fc1139f715d0e3bb72f (diff)
downloadgcc-0746af5e6219d9dabd84aa865a056e4e8ae27c3d.zip
gcc-0746af5e6219d9dabd84aa865a056e4e8ae27c3d.tar.gz
gcc-0746af5e6219d9dabd84aa865a056e4e8ae27c3d.tar.bz2
gigi.h (make_aligning_type): Adjust prototype.
* gcc-interface/gigi.h (make_aligning_type): Adjust prototype. * gcc-interface/utils.c (make_aligning_type): Take GNAT_NODE parameter for the position of the associated TYPE_DECL. * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust call to above. * gcc-interface/utils2.c (maybe_wrap_malloc): Likewise. From-SVN: r199337
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
-rw-r--r--gcc/ada/gcc-interface/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c
index 4a528b2..2a6eb4d 100644
--- a/gcc/ada/gcc-interface/decl.c
+++ b/gcc/ada/gcc-interface/decl.c
@@ -1368,7 +1368,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
tree gnu_new_type
= make_aligning_type (gnu_type, TYPE_ALIGN (gnu_type),
TYPE_SIZE_UNIT (gnu_type),
- BIGGEST_ALIGNMENT, 0);
+ BIGGEST_ALIGNMENT, 0, gnat_entity);
tree gnu_new_var
= create_var_decl (create_concat_name (gnat_entity, "ALIGN"),
NULL_TREE, gnu_new_type, NULL_TREE, false,