This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] RFC: implement P0386R2 - C++17 inline variables
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: "Andre Vieira (lists)" <Andre dot SimoesDiasVieira at arm dot com>, gcc-patches at gcc dot gnu dot org, jason at redhat dot com
- Date: Fri, 21 Oct 2016 17:14:47 +0200
- Subject: Re: [C++ PATCH] RFC: implement P0386R2 - C++17 inline variables
- Authentication-results: sourceware.org; auth=none
- References: <20161011133941.GV7282@tucnak.redhat.com> <CADzB+2npzVw4WmehJUQpemOrVkZjXomxywiqMGcB22N7ZvQsPw@mail.gmail.com> <5808EF13.6050702@arm.com> <CAH=s-POGvNbPW1c7v-oakNm2Z34QgC+E=S+6nos+yS0KU4=txA@mail.gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Oct 21, 2016 at 03:57:34PM +0100, Yao Qi wrote:
> Hi Jakub,
>
> On Thu, Oct 20, 2016 at 5:21 PM, Andre Vieira (lists)
> <Andre.SimoesDiasVieira@arm.com> wrote:
> > <2><8f5>: Abbrev Number: 38 (DW_TAG_member)
> > <8f6> DW_AT_specification: <0x8be>
> > <8fa> DW_AT_linkage_name: (indirect string, offset: 0x4a0):
> > _ZN6BANANA1sE
> > <8fe> DW_AT_location : 5 byte block: 3 64 bf 1 0
> > (DW_OP_addr: 1bf64)
> >
> > I haven't tested it on other targets.
>
> I can reproduce it on x86_64 as well.
First of all, I have a pending patch for this area:
http://gcc.gnu.org/ml/gcc-patches/2016-10/msg01183.html
so I think it doesn't really make much sense to discuss it until it gets in.
But unless you are talking about -std=c++17 or code with explicit inline
vars, I don't think anything has really changed in the debug representation
with that patch.
Jakub