https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80534

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Apr 27 13:47:54 2017
New Revision: 247337

URL: https://gcc.gnu.org/viewcvs?rev=247337&root=gcc&view=rev
Log:
        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.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/other/pr80534-1.C
    branches/gcc-7-branch/gcc/testsuite/g++.dg/other/pr80534-2.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/c-family/ChangeLog
    branches/gcc-7-branch/gcc/c-family/c-common.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree.c
    branches/gcc-7-branch/gcc/tree.h

Reply via email to