This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix ICE in modified_type_die (PR debug/80461)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 Apr 2017 17:10:38 +0200
- Subject: Re: [PATCH] Fix ICE in modified_type_die (PR debug/80461)
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jakub at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 02AFD63E34
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 02AFD63E34
- References: <20170419142849.GI1809@tucnak> <07750bc7-715b-173b-6649-76ade67b0098@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Apr 19, 2017 at 08:57:52AM -0600, Jeff Law wrote:
> > 2017-04-19 Jakub Jelinek <jakub@redhat.com>
> >
> > PR debug/80461
> > * dwarf2out.c (modified_type_die, gen_type_die_with_usage):
> > Check for t with zero TYPE_QUALS_NO_ADDR_SPACE.
> >
> > * g++.dg/debug/pr80461.C: New test.
> I'm going to assume your use of TYPE_QUALS_NO_ADDR_SPACE vs TYPE_QUALS or
> TYPE_QUALS_NO_ADDR_SPACE_NO_ATOMIC is correct.
I don't really know. For address space quals I think one would need to have
pointer-to-members in different code address spaces, not sure if we support
anything like that. And atomic is C only which doesn't have
pointer-to-members.
Jakub