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++/77427] [6/7 Regression] ice when canonical types differ for identical types


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

--- Comment #11 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Tue Sep 13 15:56:03 2016
New Revision: 240112

URL: https://gcc.gnu.org/viewcvs?rev=240112&root=gcc&view=rev
Log:
Don't treat array as builtin type in set_underlying_type

2016-09-13  Jason Merrill  <jason@redhat.com>
            Tom de Vries  <tom@codesourcery.com>

        PR c++/77427
        * c-common.c (set_underlying_type): Don't treat array as builtin type.

        * g++.dg/pr77427.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/pr77427.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog

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