PR c++/48029
commit47c2386f65e479fad83139ff489b4006ac585286
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Mar 2011 22:37:22 +0000 (10 22:37 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Mar 2011 22:37:22 +0000 (10 22:37 +0000)
treeed11f647b03450960c8b2c0d83b0de6f831f7883
parent54cb44a3fb4e6c4b11a860835860a70076545069
PR c++/48029
* stor-layout.c (layout_type): Don't set structural equality
on arrays of incomplete type.
* tree.c (type_hash_eq): Handle comparing them properly.
* cp/pt.c (iterative_hash_template_arg): Remove special case for
ARRAY_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170853 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/array22.C [new file with mode: 0644]
gcc/tree.c