http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60225
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-02-16 Ever confirmed|0 |1 --- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- Indeed, in ensure_literal_type_for_constexpr_object we check: if (CLASS_TYPE_P (type) && !COMPLETE_TYPE_P (complete_type (type))) before calling literal_type_p but that doesn't cover the case of an array of incomplete element type. (because the compiler was built with optimizations, the stack trace is missing a second literal_type_p call (semantics.c:7369))