diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2019-02-20 10:47:02 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2019-02-20 10:47:02 +0000 |
commit | 9ccdc43d5ee4a3ecdccc10c9d28fc90db6d13eb3 (patch) | |
tree | 2b881c9ce3df628ba11469416bb0ea510161e96c /libcpp | |
parent | 54603edcb1a82307fa28a54ade7d978db7599180 (diff) | |
download | gcc-9ccdc43d5ee4a3ecdccc10c9d28fc90db6d13eb3.zip gcc-9ccdc43d5ee4a3ecdccc10c9d28fc90db6d13eb3.tar.gz gcc-9ccdc43d5ee4a3ecdccc10c9d28fc90db6d13eb3.tar.bz2 |
re PR c++/84536 (ICE with non-type template parameter)
/cp
2019-02-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84536
* pt.c (tsubst_init): Diagnose an initializer expanding to an
empty list of expressions; tweak wrt dependent types.
(regenerate_decl_from_template): For VAR_DECLs call tsubst_init
instead of tsubst_expr.
/testsuite
2019-02-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84536
* g++.dg/cpp1y/var-templ60.C: New.
From-SVN: r269037
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions