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++/72849] [7 Regression] r239267 causes Firefox build failure


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Aug  9 14:37:12 2016
New Revision: 239289

URL: https://gcc.gnu.org/viewcvs?rev=239289&root=gcc&view=rev
Log:
        PR c++/72849 - ICE with incomplete class.

        * constexpr.c (cxx_eval_constant_expression): Check
        COMPLETE_TYPE_P before calling is_really_empty_class.
        * class.c (is_really_empty_class): Don't call complete_type.

Added:
    trunk/gcc/testsuite/g++.dg/template/incomplete7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/constexpr.c

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