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++/70709] [4.9/5/6/7 Regression] gcc hangs on valid C++ code on x86_64-linux-gnu


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jul 24 03:05:36 2016
New Revision: 238693

URL: https://gcc.gnu.org/viewcvs?rev=238693&root=gcc&view=rev
Log:
        PR c++/70709 - zero-length array member

        * class.c (walk_subobject_offsets): Handle 0-length array.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/ext/array3.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/class.c

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