This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PR c++/90613] Fix using-decl debug bloat


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]