aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-09-05 00:33:08 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-09-05 00:33:08 -0400
commitaee8801251cc3fd10dc12e4fc48a0d0bc5f37019 (patch)
treed41708befc760369af40f5ad47e802f104006409 /gcc/fold-const.c
parente818d3ff6869ccfe551e999cbe270266ff1c33ec (diff)
downloadgcc-aee8801251cc3fd10dc12e4fc48a0d0bc5f37019.zip
gcc-aee8801251cc3fd10dc12e4fc48a0d0bc5f37019.tar.gz
gcc-aee8801251cc3fd10dc12e4fc48a0d0bc5f37019.tar.bz2
re PR c++/50248 ([C++0x] unnecessary instantiation of constexpr constructor)
PR c++/50248 Core 1358 * init.c (perform_member_init): Don't diagnose missing inits here. (emit_mem_initializers): Or here. * method.c (process_subob_fn): Don't instantiate constexpr ctors. * semantics.c (cx_check_missing_mem_inits): New. (explain_invalid_constexpr_fn): Call it. (register_constexpr_fundef): Likewise. Leave DECL_DECLARED_CONSTEXPR_P set when the body is unsuitable. (cxx_eval_call_expression): Adjust diagnostics. (cxx_eval_constant_expression): Catch use of 'this' in a constructor. From-SVN: r178518
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions