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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Aug 25 13:13:41 2014
New Revision: 214424

URL: https://gcc.gnu.org/viewcvs?rev=214424&root=gcc&view=rev
Log:
    PR c++/62129
    * class.c (outermost_open_class): New.
    * cp-tree.h: Declare it.
    * decl.c (maybe_register_incomplete_var): Use it.
    (complete_vars): Handle any constant variable.
    * expr.c (cplus_expand_constant): Handle CONSTRUCTOR.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-ptrmem3.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/class.c
    branches/gcc-4_9-branch/gcc/cp/cp-tree.h
    branches/gcc-4_9-branch/gcc/cp/decl.c
    branches/gcc-4_9-branch/gcc/cp/expr.c

Reply via email to