type instead of enumeral type as the dummy type built for the template
type of fat pointers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164417
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-09-19 Eric Botcazou <ebotcazou@adacore.com>
+ * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Use record
+ type instead of enumeral type as the dummy type built for the template
+ type of fat pointers.
+
+2010-09-19 Eric Botcazou <ebotcazou@adacore.com>
+
* gcc-interface/gigi.h (get_elaboration_procedure): Declare.
(gnat_zaplevel): Likewise.
* gcc-interface/decl.c (gnat_to_gnu_entity): Do not force global
gnu_type = TYPE_POINTER_TO (gnu_desig_type);
if (!gnu_type)
{
- tree gnu_template_type = make_node (ENUMERAL_TYPE);
+ tree gnu_template_type = make_node (RECORD_TYPE);
tree gnu_ptr_template = build_pointer_type (gnu_template_type);
tree gnu_array_type = make_node (ENUMERAL_TYPE);
tree gnu_ptr_array = build_pointer_type (gnu_array_type);