Re: [C++ Patch] PRs 48737 & 48744

2011-05-09 Thread Jason Merrill
OK, thanks. Jason

Re: [C++ Patch] PRs 48737 & 48744

2011-05-09 Thread Paolo Carlini
Hi, On 05/08/2011 12:51 PM, Paolo Carlini wrote: @@ -5203,7 +5203,7 @@ reshape_init_r (tree type, reshape_iter *d, bool f { ++d->cur; gcc_assert (BRACE_ENCLOSED_INITIALIZER_P (init)); - return reshape_init (type, init); + return reshape_init (type

Re: [C++ Patch] PRs 48737 & 48744

2011-05-08 Thread Jason Merrill
On 05/08/2011 12:51 PM, Paolo Carlini wrote: @@ -5203,7 +5203,7 @@ reshape_init_r (tree type, reshape_iter *d, bool f { ++d->cur; gcc_assert (BRACE_ENCLOSED_INITIALIZER_P (init)); - return reshape_init (type, init); + return reshape_

[C++ Patch] PRs 48737 & 48744

2011-05-08 Thread Paolo Carlini
Hi, as far as I can see this is just another case where we want to pass down more consistently the complain argument in order to avoid hard errors in sfinae contexts. In particular, we don't want hard errors from reshape_init itself (in order to fix 48737) and we want digest_init_r to forward