http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48029
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-11 17:20:36 UTC --- Author: jason Date: Fri Mar 11 17:20:27 2011 New Revision: 170880 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170880 Log: 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. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/array22.C Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/cp/ChangeLog branches/gcc-4_5-branch/gcc/cp/pt.c branches/gcc-4_5-branch/gcc/stor-layout.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree.c