Re: [committed] libstdc++: Reduce template instantiations in

2022-01-06 Thread Jonathan Wakely via Gcc-patches
On Thu, 6 Jan 2022 at 10:43, Jonathan Wakely wrote: > > > On Thu, 6 Jan 2022 at 10:33, Jonathan Wakely wrote: > >> >> >> On Thu, 6 Jan 2022 at 10:00, Stephan Bergmann >> wrote: >> >>> On 05/01/2022 14:47, Jonathan Wakely via Libstdc++ wrote: >>> > Tested powerpc64le-linux, pushed to trunk. >>>

Re: [committed] libstdc++: Reduce template instantiations in

2022-01-06 Thread Jonathan Wakely via Gcc-patches
On Thu, 6 Jan 2022 at 10:33, Jonathan Wakely wrote: > > > On Thu, 6 Jan 2022 at 10:00, Stephan Bergmann wrote: > >> On 05/01/2022 14:47, Jonathan Wakely via Libstdc++ wrote: >> > Tested powerpc64le-linux, pushed to trunk. >> > >> > >> > This moves the last two template parameters of __regex_algo

Re: [committed] libstdc++: Reduce template instantiations in

2022-01-06 Thread Jonathan Wakely via Gcc-patches
On Thu, 6 Jan 2022 at 10:00, Stephan Bergmann wrote: > On 05/01/2022 14:47, Jonathan Wakely via Libstdc++ wrote: > > Tested powerpc64le-linux, pushed to trunk. > > > > > > This moves the last two template parameters of __regex_algo_impl to be > > runtime function parameters instead, so that we do

Re: [committed] libstdc++: Reduce template instantiations in

2022-01-06 Thread Stephan Bergmann via Gcc-patches
On 05/01/2022 14:47, Jonathan Wakely via Libstdc++ wrote: Tested powerpc64le-linux, pushed to trunk. This moves the last two template parameters of __regex_algo_impl to be runtime function parameters instead, so that we don't need four different instantiations for the possible ways to call it.

[committed] libstdc++: Reduce template instantiations in

2022-01-05 Thread Jonathan Wakely via Gcc-patches
Tested powerpc64le-linux, pushed to trunk. This moves the last two template parameters of __regex_algo_impl to be runtime function parameters instead, so that we don't need four different instantiations for the possible ways to call it. Most of the function (and what it instantiates) is the same