re PR c++/36852 (Two dimensional array in template method argument list incorrectly...
authorJakub Jelinek <jakub@redhat.com>
Tue, 29 Jul 2008 16:29:33 +0000 (18:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 29 Jul 2008 16:29:33 +0000 (18:29 +0200)
commiteb9c434c0fa298c0fcb7172f5761970891dead8a
tree15c1e6e162b23f0c7c5bceaffb233c6f0ed15adb
parent11cc4546906b5b73b367b7e14df85281fbed04db
re PR c++/36852 (Two dimensional array in template method argument list incorrectly interpreted.)

PR c++/36852
* tree.c (cplus_array_hash, build_cplus_array_type_1): Hash on
TYPE_UID instead of pointers.

* g++.dg/pch/array-1.C: New test.
* g++.dg/pch/array-1.Hs: New file.

From-SVN: r138250
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pch/array-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/pch/array-1.Hs [new file with mode: 0644]