diff options
author | Dodji Seketeli <dodji@redhat.com> | 2012-01-12 23:28:46 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2012-01-13 00:28:46 +0100 |
commit | 1cef710256a340b7a13e00f8a088b5709569e0c6 (patch) | |
tree | 20aed99bf958983ce825e6124ec717166396a71a /libgo/go | |
parent | 639d4bb87cd62a6b136ba653cc3e8fddec4f0fd6 (diff) | |
download | gcc-1cef710256a340b7a13e00f8a088b5709569e0c6.zip gcc-1cef710256a340b7a13e00f8a088b5709569e0c6.tar.gz gcc-1cef710256a340b7a13e00f8a088b5709569e0c6.tar.bz2 |
PR c++/51633 - ICEs with constexpr constructor
gcc/cp/
PR c++/51633
* semantics.c (cp_parser_ctor_initializer_opt_and_function_body):
Set the pointer to the last block of the constructor to the
current statement.
(build_constexpr_constructor_member_initializers): Get
build_data_member_initialization a chance to deal with more
statements before we choke.
gcc/testsuite/
PR c++/51633
* g++.dg/cpp0x/constexpr-diag4.C: New test.
From-SVN: r183144
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions