diff options
author | Jason Merrill <jason@redhat.com> | 2013-03-20 23:25:35 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2013-03-20 23:25:35 -0400 |
commit | deaae9d7c73f87cfd2a0125411fdc54824b5d410 (patch) | |
tree | 875a9ad5038acb1c7903c9adf6be0a805d2de46e /gcc/c/c-objc-common.c | |
parent | 766053b33a997fb268791967df46c5c3f9f94a64 (diff) | |
download | gcc-deaae9d7c73f87cfd2a0125411fdc54824b5d410.zip gcc-deaae9d7c73f87cfd2a0125411fdc54824b5d410.tar.gz gcc-deaae9d7c73f87cfd2a0125411fdc54824b5d410.tar.bz2 |
re PR c++/54532 ([C++0x][constexpr] internal error when initializing static constexpr with pointer to non-static member variable)
PR c++/54532
* expr.c (cplus_expand_constant): Do nothing if the class is
incomplete.
* semantics.c (reduced_constant_expression_p): Allow PTRMEM_CST.
* typeck2.c (store_init_value): Use reduced_constant_expression_p.
* decl.c (maybe_register_incomplete_var): Handle PTRMEM_CST.
(complete_vars): Likewise.
From-SVN: r196852
Diffstat (limited to 'gcc/c/c-objc-common.c')
0 files changed, 0 insertions, 0 deletions