[PR c++/90613] Fix using-decl debug bloat
Jason Merrill
jason@redhat.com
Wed Aug 28 18:57:00 GMT 2019
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
More information about the Gcc-patches
mailing list