http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48029

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-10 
22:37:27 UTC ---
Author: jason
Date: Thu Mar 10 22:37:22 2011
New Revision: 170853

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170853
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:
    trunk/gcc/testsuite/g++.dg/template/array22.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/stor-layout.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c

Reply via email to