* gcc-interface/trans.c (elaborate_all_entities_for_package): Also skip
formal objects.
From-SVN: r236280
+2016-05-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/trans.c (elaborate_all_entities_for_package): Also skip
+ formal objects.
+
2016-05-16 Eric Botcazou <ebotcazou@adacore.com>
* doc/gnat_rm/implementation_defined_attributes.rst
if (IN (kind, Generic_Unit_Kind))
continue;
+ /* Skip formal objects. */
+ if (IN (kind, Formal_Object_Kind))
+ continue;
+
/* Skip package bodies. */
if (kind == E_Package_Body)
continue;