On 02/16/2016 01:16 PM, Jakub Jelinek wrote:
>> > Can someone please tell me Chapter and Verse in the standard, please?
>> > Then I can close this one.
> I'd think [basic.life] describes this.
For the record, I found it in C++98 [class.cdtor]:
For an object of non-POD class type ... before the
On Tue, Feb 16, 2016 at 01:04:06PM +, Andrew Haley wrote:
> I'm fixing a bug which involves initialization of a field of an object
> in its placement new function before the constructor is called. This
> is falling foul of DSE, which deletes the field initialization.
>
> I see this:
>
> @i
I'm fixing a bug which involves initialization of a field of an object
in its placement new function before the constructor is called. This
is falling foul of DSE, which deletes the field initialization.
I see this:
@item -fno-lifetime-dse
@opindex fno-lifetime-dse
In C++ the value of an o