From: Eric Botcazou Date: Sat, 2 Apr 2011 08:54:18 +0000 (+0000) Subject: decl.c (gnat_to_gnu_entity): Do not force the DECL_ARTIFICIAL flag on enumeration... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acccc61c771bfc3f78a49805a3382626314da520;p=gcc.git decl.c (gnat_to_gnu_entity): Do not force the DECL_ARTIFICIAL flag on enumeration types. * gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the DECL_ARTIFICIAL flag on enumeration types. From-SVN: r171884 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index dd108225ccd..ef21acc3380 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2011-04-02 Eric Botcazou + + * gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the + DECL_ARTIFICIAL flag on enumeration types. + 2011-04-02 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity) : Do not make diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index 7a18d32752a..29023965fc5 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -4960,9 +4960,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition) 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); }