aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-07-20 10:43:49 -0400
committerJason Merrill <jason@gcc.gnu.org>2019-07-20 10:43:49 -0400
commit2dc1070584c5d700ab878fa13a18e2e25f0380c8 (patch)
treede3478d6add3f50cb727ad27e7ed04056bee0786 /gcc/optabs.c
parent1ab1f3502038323f6f5cd8c16c0ac1b1416e3545 (diff)
downloadgcc-2dc1070584c5d700ab878fa13a18e2e25f0380c8.zip
gcc-2dc1070584c5d700ab878fa13a18e2e25f0380c8.tar.gz
gcc-2dc1070584c5d700ab878fa13a18e2e25f0380c8.tar.bz2
Fix ICE on class template argument deduction with inherited ctor.
In general, when we see a dependent using-declaration we don't know whether it names a function or not, so it doesn't get an OVERLOAD unless we see overloads of the same name in the current class. In the case of an inherited constructor we could figure that out from the name, but it's simpler to handle USING_DECL properly. * cp-tree.h (ovl_iterator::using_p): A USING_DECL by itself was also introduced by a using-declaration. From-SVN: r273623
Diffstat (limited to 'gcc/optabs.c')
0 files changed, 0 insertions, 0 deletions