diff options
author | Jason Merrill <jason@redhat.com> | 2021-04-14 14:14:31 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2021-04-14 14:14:31 -0400 |
commit | 00a2774923c1dc5666cd26bb9b8c37b1b7dd689d (patch) | |
tree | 7f76425ef73fdd11642b93a8b3ece8e49382488e /libsanitizer | |
parent | 9b53edc796d284b6adec7f2996772dbddf4c341e (diff) | |
download | gcc-00a2774923c1dc5666cd26bb9b8c37b1b7dd689d.zip gcc-00a2774923c1dc5666cd26bb9b8c37b1b7dd689d.tar.gz gcc-00a2774923c1dc5666cd26bb9b8c37b1b7dd689d.tar.bz2 |
c++: premature overload resolution redux [PR100078]
My patch for PR93085 didn't consider that a default template argument can
also make a template dependent.
gcc/cp/ChangeLog:
PR c++/100078
PR c++/93085
* pt.c (uses_outer_template_parms): Also look at default
template argument.
gcc/testsuite/ChangeLog:
PR c++/100078
* g++.dg/template/dependent-tmpl2.C: New test.
Diffstat (limited to 'libsanitizer')
0 files changed, 0 insertions, 0 deletions