]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/19270 (ice on valid template code)
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 6 Jan 2005 15:22:11 +0000 (15:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 6 Jan 2005 15:22:11 +0000 (15:22 +0000)
commitd8987adb29b6d98c923d93fcc29ab4d8d47e8a1a
tree2d74b6ffa665ac63661c4f1445afe2b590ad5c6b
parent9acf766fe1b9fbdda3e7997f408912bfccfaf5fd
re PR c++/19270 (ice on valid template code)

cp:
PR c++/19270
* pt.c (tsubst_copy) <ARRAY_REF case>: Handle separately.
(tsubst_copy_and_build) <ARRAY_REF case>: Remove obsolete
array-new handling code.  Use build_x_binary_op.
testsuite:
PR c++/19270
* g++.dg/template/array10.C: New.

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