This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [mark@markmitchell.com: Re: More Dwarf2 issues]
- To: mark at markmitchell dot com
- Subject: Re: [mark@markmitchell.com: Re: More Dwarf2 issues]
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 30 Aug 1998 17:35:10 -0600
- cc: egcs-patches at cygnus dot com, wilson at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199808190506.WAA01274@smtp.earthlink.net>you write:
>
> After discussion with Jim Wilson (who liked the patch, at least in
> principle), I'm officially submitting this patch. It's inclusion will
> then allow me to fix a problem with the C++ front-end, and may allow
> the simplification of the DWARF and DWARF2 debug-generation code. Jeff?
>
> --
> Mark Mitchell mark@markmitchell.com
> Mark Mitchell Consulting http://www.markmitchell.com
>
> Mon Aug 17 13:10:00 1998 Mark Mitchell <mark@markmitchell.com>
>
> * integrate.c (integrate_decl_tree): Make the DECL_ABSTRACT_ORIGIN
> the most distant ancestor, not the immediate parent.
Since you've already discussed this with Jim, I'd like him to actually
approve the patch. I don't have any state on the problem.
> Index: integrate.c
> ===================================================================
> RCS file: /egcs/carton/cvsfiles/egcs/gcc/integrate.c,v
> retrieving revision 1.34
> diff -c -p -r1.34 integrate.c
> *** integrate.c 1998/06/25 15:14:38 1.34
> --- integrate.c 1998/08/17 20:07:59
> *************** integrate_decl_tree (let, level, map)
> *** 2247,2253 ****
> /* These args would always appear unused, if not for this. */
> TREE_USED (d) = 1;
> /* Prevent warning for shadowing with these. */
> ! DECL_ABSTRACT_ORIGIN (d) = t;
>
> if (DECL_LANG_SPECIFIC (d))
> copy_lang_decl (d);
> --- 2247,2256 ----
> /* These args would always appear unused, if not for this. */
> TREE_USED (d) = 1;
> /* Prevent warning for shadowing with these. */
> ! if (DECL_ABSTRACT_ORIGIN (t))
> ! DECL_ABSTRACT_ORIGIN (d) = DECL_ABSTRACT_ORIGIN (t);
> ! else
> ! DECL_ABSTRACT_ORIGIN (d) = t;
>
> if (DECL_LANG_SPECIFIC (d))
> copy_lang_decl (d);