re PR c++/84092 (ICE on C++14 code with variable template: in build_qualified_name...
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 31 Jan 2018 16:07:06 +0000 (16:07 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 31 Jan 2018 16:07:06 +0000 (16:07 +0000)
commitbe197ade2e5fb42606339080b08e885824fb9644
tree0ac357c9bc904583891f081050ee4742f41b593e
parent4ecd9c156cb6a4d67d59563b73cccfd0d5045a50
re PR c++/84092 (ICE on C++14 code with variable template: in build_qualified_name, at cp/tree.c:2043)

/cp
2018-01-31  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84092
* semantics.c (finish_qualified_id_expr): When handling an
UNBOUND_CLASS_TEMPLATE only adjust qualifying_class and expr.

/testsuite
2018-01-31  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84092
* g++.dg/cpp1y/var-templ57.C: New.

From-SVN: r257242
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/var-templ57.C [new file with mode: 0644]