]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/14616 (disjoint_set_test.cpp from boost does not compile (sizeof))
authorMark Mitchell <mark@codesourcery.com>
Sun, 21 Mar 2004 17:48:39 +0000 (17:48 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 21 Mar 2004 17:48:39 +0000 (17:48 +0000)
commitfc5fccdee994a93c1360b9a2934f0232820f9333
treed6a744d44d90ff41a7bd2e3a59eab8c0e83f3a93
parent0f005f338f506ae21040f1ba00e3c1ce42a080c1
re PR c++/14616 (disjoint_set_test.cpp from boost does not compile (sizeof))

PR c++/14616
* decl.c (cp_finish_decl): Compute the size of arrays declared in
templates, if their type is non-dependent.

PR c++/14616
* g++.dg/init/array13.C: New test.

From-SVN: r79788
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/array13.C [new file with mode: 0644]