[C++ PATCH] Add tests for a const member and a reference member for launder.

Jason Merrill jason@redhat.com
Mon Oct 31 16:47:00 GMT 2016


OK, thanks.

On Mon, Oct 31, 2016 at 12:13 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> On 31 October 2016 at 15:31, Jason Merrill <jason@redhat.com> 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  <ville.voutilainen@gmail.com>
>
>     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.



More information about the Gcc-patches mailing list