OK, thanks.
On Mon, Oct 31, 2016 at 12:13 PM, Ville Voutilainen <[email protected]> wrote: > On 31 October 2016 at 15:31, Jason Merrill <[email protected]> wrote: >> Good idea. You might put the reuse in a separate function in order to >> hide it from the optimizer. > > > Ok, new patch, tested on Linux-x64, ok for trunk? > > 2016-10-31 Ville Voutilainen <[email protected]> > > Add tests for a const member and a reference member for launder. > * g++.dg/cpp1z/launder3.C: New. > * g++.dg/cpp1z/launder4.C: Likewise. > * g++.dg/cpp1z/launder5.C: Likewise. > * g++.dg/cpp1z/launder5.cc: Likewise. > * g++.dg/cpp1z/launder5.h: Likewise. > * g++.dg/cpp1z/launder6.C: Likewise. > * g++.dg/cpp1z/launder6.cc: Likewise. > * g++.dg/cpp1z/launder6.h: Likewise.
