diff options
author | Jason Merrill <jason@redhat.com> | 2009-06-02 13:02:38 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-06-02 13:02:38 -0400 |
commit | 4ea08463a743ae12a5273368c2cc50743818ad48 (patch) | |
tree | a4bc703b59430cc1c6271ad1407d17d48be44c0d /gcc/loop-unroll.c | |
parent | ccafc19b5bd8f4736a2788263aa5acd6d2b7a961 (diff) | |
download | gcc-4ea08463a743ae12a5273368c2cc50743818ad48.zip gcc-4ea08463a743ae12a5273368c2cc50743818ad48.tar.gz gcc-4ea08463a743ae12a5273368c2cc50743818ad48.tar.bz2 |
re PR c++/40308 (Brace initialization fails for member initializers in constructor for class templates)
PR c++/40308
PR c++/40311
* typeck.c (cp_build_modify_expr): Always pass init-lists to the
conversion code.
* call.c (implicit_conversion): Allow init-list conversion to scalar
during direct-initialization, too. Mark the conversion bad if it
has too many levels of braces.
(convert_like_real): And give a helpful error.
From-SVN: r148089
Diffstat (limited to 'gcc/loop-unroll.c')
0 files changed, 0 insertions, 0 deletions