This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR c++/78469] default ctor makes dtor required
OK.
On Tue, Jan 24, 2017 at 2:17 PM, Nathan Sidwell <nathan@acm.org> wrote:
> On 01/24/2017 11:36 AM, Jason Merrill wrote:
>
>> This is the wrong place for this; we don't know at this point whether
>> we're in a new-expression or actually creating a temporary. I think we
>> want to add this flag in the call to build_value_init from build_new_1.
>> And look at other calls to build_value_init to see if they want it as
>> well.
>
>
> Oh yeah, need to set the flag further up the all chain. I couldn't see
> other build_value_init calls that needed it set.
>
> nathan
>
> --
> Nathan Sidwell