This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/72849] [7 Regression] r239267 causes Firefox build failure
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Aug 2016 14:37:43 +0000
- Subject: [Bug c++/72849] [7 Regression] r239267 causes Firefox build failure
- Auto-submitted: auto-generated
- References: <bug-72849-4@http.gcc.gnu.org/bugzilla/>
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