aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2024-08-05 13:20:17 -0400
committerJason Merrill <jason@redhat.com>2024-08-06 13:04:23 -0400
commitb2a8ee0e5d8cfa92bafd0db4b03626b26ac21948 (patch)
tree0787904e752335118db3fb2a9c9781c9304e06b6 /libcpp
parent4add6cd341a779e980e41ed6fb49175fca37496e (diff)
downloadgcc-b2a8ee0e5d8cfa92bafd0db4b03626b26ac21948.zip
gcc-b2a8ee0e5d8cfa92bafd0db4b03626b26ac21948.tar.gz
gcc-b2a8ee0e5d8cfa92bafd0db4b03626b26ac21948.tar.bz2
c++: more non-type template parms [PR116223]
Building on the last patch, deduction should probably look through all IMPLICIT_CONV_EXPR like we do other conversions. One resulting regression turned out to be due to PR94568, fixed separately. The one other regression was for a seeming mismatch between a function and its address, handled here. Before this change we treated the IMPLICIT_CONV_EXPR as dependent because the template parameter has dependent type. PR c++/116223 gcc/cp/ChangeLog: * pt.cc (deducible_expression): Strip all IMPLICIT_CONV_EXPR. (unify): Likewise. Handle resulting function/addr mismatch.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions