aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcov-util.c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2022-10-18 10:57:30 -0400
committerPatrick Palka <ppalka@redhat.com>2022-10-18 10:57:30 -0400
commit0101137c7c5d612c0624f9a2fd5198b302243f85 (patch)
treeda94788a755b6440d4fe4174afcf9a115edd2529 /libgcc/libgcov-util.c
parentc70b44f2c1adf9a9b1c64105d07f177e86139fca (diff)
downloadgcc-0101137c7c5d612c0624f9a2fd5198b302243f85.zip
gcc-0101137c7c5d612c0624f9a2fd5198b302243f85.tar.gz
gcc-0101137c7c5d612c0624f9a2fd5198b302243f85.tar.bz2
c++ modules: stream non-trailing default targs [PR105045]
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. PR c++/105045 gcc/cp/ChangeLog: * module.cc (trees_out::tpl_parms_fini): Don't assume default template arguments must be trailing. (trees_in::tpl_parms_fini): Likewise. gcc/testsuite/ChangeLog: * g++.dg/modules/pr105045_a.C: New test. * g++.dg/modules/pr105045_b.C: New test.
Diffstat (limited to 'libgcc/libgcov-util.c')
0 files changed, 0 insertions, 0 deletions