This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR c++/90613] Fix using-decl debug bloat
- From: Jason Merrill <jason at redhat dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Martin Liška <mliska at suse dot cz>
- Date: Wed, 28 Aug 2019 13:23:23 -0400
- Subject: Re: [PR c++/90613] Fix using-decl debug bloat
- References: <364a5ded-f67b-1c65-e8a6-8bd04ae55fd2@acm.org>
On Wed, Aug 28, 2019 at 9:35 AM Nathan Sidwell <nathan@acm.org> wrote:
>
> My patch reorganizing using decl handling caused a regression in the
> size of debug information. The culprit was that we were passing an
> overload set when previously we'd pass a single decl. And that broke an
> elision test.
>
> Fixed by moving that test into the iteration of the overload set.
>
> Martin was kind enough to provide a reduced testcase, and I've verified
> that the debug info on one of the benchmarks reported has returned to
> what it was.
>
> The testcase isn't in the g++.dg/debug directory, because that
> unconditionally iterates over different debug formats, and I only wanted
> to check dwarf, because I know how to do that :)
FYI there is the g++.dg/debug/dwarf2 directory for dwarf tests.
Jason