re PR c++/80534 (7.1 RC - internal compiler error: in finish_member_declaration,...
authorJakub Jelinek <jakub@redhat.com>
Thu, 27 Apr 2017 13:42:37 +0000 (15:42 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 27 Apr 2017 13:42:37 +0000 (15:42 +0200)
commitf8a36447dbdf5baafe85f953c261ec35f149dfb7
tree69656f2b41db491442a54946801bbcfbc2ded408
parent304757d2ceec74e12ac43312b7eab9aa3b092126
re PR c++/80534 (7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963)

PR c++/80534
* tree.c (type_cache_hasher::equal): Only compare
TYPE_TYPELESS_STORAGE flag on non-aggregate element types.
(build_array_type_1): Only hash TYPE_TYPELESS_STORAGE flag on
non-aggregate element types.
* tree.h (TYPE_TYPELESS_STORAGE): Fix comment typo, add more details
about the flag on ARRAY_TYPEs in the comment, formatting fix.
c-family/
* c-common.c (complete_array_type): Only hash TYPE_TYPELESS_STORAGE
flag on non-aggregate element types.
testsuite/
* g++.dg/other/pr80534-1.C: New test.
* g++.dg/other/pr80534-2.C: New test.

From-SVN: r247334
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr80534-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/pr80534-2.C [new file with mode: 0644]
gcc/tree.c
gcc/tree.h