This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/80534] [7/8 Regression] 7.1 RC - internal compiler error: in finish_member_declaration, at cp/semantics.c:2963


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Apr 27 13:42:37 2017
New Revision: 247334

URL: https://gcc.gnu.org/viewcvs?rev=247334&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:
    trunk/gcc/testsuite/g++.dg/other/pr80534-1.C
    trunk/gcc/testsuite/g++.dg/other/pr80534-2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c
    trunk/gcc/tree.h

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]