]> gcc.gnu.org Git - gcc.git/commit
re PR c++/82085 (ICE: Template variable reference used in nested template alias)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 30 Oct 2017 19:16:29 +0000 (19:16 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 30 Oct 2017 19:16:29 +0000 (19:16 +0000)
commitbae0ffb560161297affa64d94aede0b8c5553a5f
tree795f87fb0cbf1566ce93c91214caa18eed1c7b43
parentff6304874e9f0c56ef675deb7f71124348fae922
re PR c++/82085 (ICE: Template variable reference used in nested template alias)

/cp
2017-10-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/82085
* pt.c (tsubst_copy_and_build, [INDIRECT_REF]): For a REFERENCE_REF_P,
unconditionally call convert_from_reference.

/testsuite
2017-10-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/82085
* g++.dg/cpp1y/var-templ56.C: New.

From-SVN: r254239
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/var-templ56.C [new file with mode: 0644]
This page took 0.061378 seconds and 5 git commands to generate.