]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/init.cc
re PR c++/23993 (Mysterious compiler error when accessing a 2d-array in a template...
authorMark Mitchell <mark@codesourcery.com>
Thu, 22 Sep 2005 00:11:22 +0000 (00:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 22 Sep 2005 00:11:22 +0000 (00:11 +0000)
commitf513e31f31fa83363571d192abcbb0571518a665
treee474f6d077f15b28b43251b37457b5894701aefa
parentb1eb8119ac9ec5677497fa33e2091941c60131a3
re PR c++/23993 (Mysterious compiler error when accessing a 2d-array in a template class)

PR c++/23993
* init.c (integral_constant_value): Use DECL_INTEGRAL_CONSTANT_VAR_P.

PR c++/23993
* g++.dg/template/array14.C: New test.

From-SVN: r104511
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/array14.C [new file with mode: 0644]