This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] PR c++/35878
OK. Let's leave the BZ open to help remember to remove the
cxx_dialect check in stage 1.
Jason
On Mon, Mar 20, 2017 at 9:21 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> On 21 March 2017 at 02:46, Ville Voutilainen
> <ville.voutilainen@gmail.com> wrote:
>> On 21 March 2017 at 02:43, Ville Voutilainen
>> <ville.voutilainen@gmail.com> wrote:
>>> Hmm. I should either rename that function or flip its logic. Now it's
>>> a bit backwards. :) I'll flip its logic.
>>
>> In other words, see attached.
>
> Let's call the function what it really is.
>
> 2017-03-21 Ville Voutilainen <ville.voutilainen@gmail.com>
>
> gcc/
>
> PR c++/35878
> * cp/init.c (std_placement_new_fn_p): New.
> (build_new_1): Call it.
>
> testsuite/
>
> PR c++/35878
> * g++.dg/init/pr35878_1.C: New.
> * g++.dg/init/pr35878_2.C: Likewise.
> * g++.dg/init/pr35878_3.C: Likewise.