Re: [committed] libstdc++: Remove unnecessary uses of

2024-08-02 Thread Jonathan Wakely
On Fri, 2 Aug 2024 at 02:29, Andrew Pinski wrote: > > On Thu, Aug 1, 2024 at 2:14 PM Jonathan Wakely wrote: > > > > This will probably need a gcc-15/porting_to.html entry at some point. > > Every time we remove transitive includes of it breaks > > somebody! > > Yes including testcases, libstdc++

Re: [committed] libstdc++: Remove unnecessary uses of

2024-08-01 Thread Andrew Pinski
On Thu, Aug 1, 2024 at 2:14 PM Jonathan Wakely wrote: > > This will probably need a gcc-15/porting_to.html entry at some point. > Every time we remove transitive includes of it breaks > somebody! Yes including testcases, libstdc++-prettyprinters/shared_ptr.cc does not compile due to this change

[committed] libstdc++: Remove unnecessary uses of

2024-08-01 Thread Jonathan Wakely
This will probably need a gcc-15/porting_to.html entry at some point. Every time we remove transitive includes of it breaks somebody! Tested x86_64-linux. Pushed to trunk. -- >8 -- We don't need to include all of when we only need uintptr_t from it. By using GCC's internal macro we avoid unnec