This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Silence merge warnings on artificial types


On 03/31/2015 03:51 AM, Jan Hubicka wrote:
Jason, please do you know what is meaning of DECL_ARTIFICIAL on class type
names? Perhaps we can drop them to 0 in free lang data?

It indicates the implicit typedef that let's you say 'S' instead of 'struct S' without writing 'typedef struct S S' yourself.

dwarf2out.c uses this information in TYPE_DECL_IS_STUB and is_redundant_typedef, so we can't clear it until after debug info generation.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]