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: PR/14362


> > +   /* Do not track compiler-generated decl except FRAME_BASE_DECL.  */
> > +   if (DECL_ARTIFICIAL (expr) && expr != frame_base_decl)
> 
> This is the wrong test.  The correct test for "don't generate
> debug info for this variable" is DECL_IGNORED_P.

OK with this change if bootstrap/regtesting passes?

Josef


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