]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/51430 (ICE with array as static const member)
authorJakub Jelinek <jakub@redhat.com>
Tue, 6 Dec 2011 19:52:39 +0000 (20:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 6 Dec 2011 19:52:39 +0000 (20:52 +0100)
commit0e642d0671db79acb4bccc4268e461fdcf5c1cdf
treeb73630ddbd299c29d5c1d121f23b1a0ac0a629cc
parent70d63e488355f52bf768bd1d9d091d9fff4a82d3
re PR c++/51430 (ICE with array as static const member)

PR c++/51430
* pt.c (tsubst_decl): Don't call strip_array_domain on
error_mark_node.

* g++.dg/template/static32.C: New test.

From-SVN: r182063
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/static32.C [new file with mode: 0644]