* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Function>: If
processing a definition, create definitions for padding types
around return types.
From-SVN: r224121
+2015-06-04 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Function>: If
+ processing a definition, create definitions for padding types
+ around return types.
+
2015-06-03 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils.c (copy_type): Also set TYPE_CANONICAL.
= maybe_pad_type (gnu_return_type,
max_size (TYPE_SIZE (gnu_return_type),
true),
- 0, gnat_entity, false, false, false, true);
+ 0, gnat_entity, false, false, definition,
+ true);
/* Declare it now since it will never be declared otherwise.
This is necessary to ensure that its subtrees are properly