re PR c++/48029 (ICE in finish_member_declaration() with --param ggc-min-expand=0...
authorJason Merrill <jason@gcc.gnu.org>
Thu, 10 Mar 2011 22:37:22 +0000 (17:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 10 Mar 2011 22:37:22 +0000 (17:37 -0500)
commit18d920539d6d7f5be5a1eb58613da4f91f26fbfb
treeed11f647b03450960c8b2c0d83b0de6f831f7883
parent67a2f76d4c054da755bd23ef9a08854b3340b715
re PR c++/48029 (ICE in finish_member_declaration() with --param ggc-min-expand=0 --param ggc-min-heapsize=0)

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.

From-SVN: r170853
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