Re: [PATCH RFA] diagnostic: avoid repeating include path

2022-01-13 Thread David Malcolm via Gcc-patches
On Thu, 2022-01-13 at 17:08 -0500, Jason Merrill wrote: > When a sequence of diagnostic messages bounces back and forth > repeatedly > between two includes, as with > >  #include >  std::map m ("123", "456"); > > The output is quite a bit longer than necessary because we dump the > include > pat

[PATCH RFA] diagnostic: avoid repeating include path

2022-01-13 Thread Jason Merrill via Gcc-patches
When a sequence of diagnostic messages bounces back and forth repeatedly between two includes, as with #include std::map m ("123", "456"); The output is quite a bit longer than necessary because we dump the include path each time it changes. I'd think we could print the include path once for