This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [debug-early] Handle specification of class scoped static functions
- From: Jason Merrill <jason at redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 13 Apr 2015 17:04:55 -0400
- Subject: Re: [debug-early] Handle specification of class scoped static functions
- Authentication-results: sourceware.org; auth=none
- References: <550C5F3A dot 1030802 at redhat dot com> <550C8F4C dot 1020003 at redhat dot com> <550CB740 dot 6040305 at redhat dot com> <551EA84E dot 7080200 at redhat dot com> <552C048B dot 9020804 at redhat dot com>
On 04/13/2015 02:01 PM, Aldy Hernandez wrote:
...or perhaps we could change the condition to:
if ((is_cu_die (old_die->die_parent)
+ || old_die->die_parent->die_tag == DW_TAG_module
|| context_die == NULL
Does checking context_die == old_die->die_parent work?
Jason