* gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the
DECL_ARTIFICIAL flag on enumeration types.
From-SVN: r171884
+2011-04-02 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the
+ DECL_ARTIFICIAL flag on enumeration types.
+
2011-04-02 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do not make
2011-04-02 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do not make
SET_TYPE_RM_MIN_VALUE (gnu_scalar_type, gnu_low_bound);
SET_TYPE_RM_MAX_VALUE (gnu_scalar_type, gnu_high_bound);
SET_TYPE_RM_MIN_VALUE (gnu_scalar_type, gnu_low_bound);
SET_TYPE_RM_MAX_VALUE (gnu_scalar_type, gnu_high_bound);
- /* Write full debugging information. Since this has both a
- typedef and a tag, avoid outputting the name twice. */
- DECL_ARTIFICIAL (gnu_decl) = 1;
+ /* Write full debugging information. */
rest_of_type_decl_compilation (gnu_decl);
}
rest_of_type_decl_compilation (gnu_decl);
}