diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2014-06-04 22:30:39 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2014-06-04 22:30:39 +0000 |
commit | 82b3da6a714493644a4333bfd8205e3341ed3b8e (patch) | |
tree | b9756029ec20b53787ad1ff9ea1241b49d180f5a /libgo/go | |
parent | 357ddc7d3df9dbbd89c0e80a7d9dafcbe10a9263 (diff) | |
download | gcc-82b3da6a714493644a4333bfd8205e3341ed3b8e.zip gcc-82b3da6a714493644a4333bfd8205e3341ed3b8e.tar.gz gcc-82b3da6a714493644a4333bfd8205e3341ed3b8e.tar.bz2 |
re PR c++/43453 (Initialization of char array with string literal fails in mem-initializer)
/cp
2014-06-04 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/43453
* typeck.c (cp_build_modify_expr): Handle array of characters
initialized by a string literal.
* decl.c (check_initializer): Handle parenthesized string literal
as initializer.
* typeck2.c (store_init_value): Remove redundant check.
/testsuite
2014-06-04 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/43453
* g++.dg/init/pr43453.C: New.
From-SVN: r211248
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions