Re: [PATCH] c++ modules: stream non-trailing default targs [PR105045]

2022-10-18 Thread Nathan Sidwell via Gcc-patches
On 10/18/22 10:13, Patrick Palka wrote: This fixes the below testcase in which we neglect to stream the default argument for T only because the subsequent parameter U doesn't also have a default argument. ok Tested on x86_64-pc-linux-gnu, does this look OK for trunk? PR c++/105045

[PATCH] c++ modules: stream non-trailing default targs [PR105045]

2022-10-18 Thread Patrick Palka via Gcc-patches
This fixes the below testcase in which we neglect to stream the default argument for T only because the subsequent parameter U doesn't also have a default argument. Tested on x86_64-pc-linux-gnu, does this look OK for trunk? PR c++/105045 gcc/cp/ChangeLog: * module.cc (trees_out