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


On Tue, Mar 02, 2004 at 11:43:43AM +0100, Josef Zlomek wrote:
> +   /* 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.


r~


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