diff options
author | Jason Merrill <jason@redhat.com> | 2023-03-23 18:20:52 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2023-03-24 12:32:00 -0400 |
commit | 4e2cdb1ddb5f6ace909358775e94bfe23046ad5a (patch) | |
tree | 27689bd855824918fe1a688d68ac4e348107896b /gcc/go/go-gcc.cc | |
parent | e8fec6998b656dac02d4bc6c69b35a0fb5611e87 (diff) | |
download | gcc-4e2cdb1ddb5f6ace909358775e94bfe23046ad5a.zip gcc-4e2cdb1ddb5f6ace909358775e94bfe23046ad5a.tar.gz gcc-4e2cdb1ddb5f6ace909358775e94bfe23046ad5a.tar.bz2 |
c++: default template arg, partial ordering [PR105481]
The default argument code in type_unification_real was assuming that all
targs we've deduced by that point are non-dependent, but that's not the case
for partial ordering.
PR c++/105481
gcc/cp/ChangeLog:
* pt.cc (type_unification_real): Adjust for partial ordering.
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/fntmpdefarg-partial1.C: New test.
Diffstat (limited to 'gcc/go/go-gcc.cc')
0 files changed, 0 insertions, 0 deletions