re PR c++/13494 (ICE on bidimensional array subscription in template function.)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 30 Dec 2003 10:07:13 +0000 (10:07 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 30 Dec 2003 10:07:13 +0000 (10:07 +0000)
commit58496de135a8b4fdfe552d0d9b18c9d1db147582
tree782381548209213cb65d0241617ed7102f9f7f2d
parenta043b1f5c90b437896c826c80244aa06e7fd2926
re PR c++/13494 (ICE on bidimensional array subscription in template function.)

cp:
PR c++/13494
* tree.c (build_cplus_array_type_1): Only build a minimal array
type for dependent types or domains.
testsuite:
PR c++/13494
* g++.dg/template/array2-1.C: New test.
* g++.dg/template/array2-2.C: New test.

From-SVN: r75225
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/array2-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/array2-2.C [new file with mode: 0644]