On Wed, Oct 5, 2016 at 7:15 PM, Pedro Alves wrote: > On 10/05/2016 11:57 PM, Jason Merrill wrote: >> --- a/gcc/c-family/c-opts.c >> +++ b/gcc/c-family/c-opts.c >> @@ -1579,6 +1579,7 @@ set_std_cxx1z (int iso) >> + flag_elide_constructors = 2; Oops, that was an earlier version of the patch. Here's what I checked in, which doesn't touch flag_elide_constructors. > Does -fno-elide-constructors have any effect in C++17 mode? > Should it perhaps be an error, or ignored? It does have an effect: it avoids open-coding trivial copies. I suppose I should update the documentation. Jason