On Mon, Apr 25, 2016 at 11:02 AM, Bernd Schmidt <bschm...@redhat.com> wrote:
> On 04/19/2016 10:48 PM, Mikhail Maltsev wrote:
>>
>> On 04/18/2016 12:14 PM, Richard Biener wrote:
>>>
>>>
>>> Enlarging tree_function_decl is bad.
>>
>> Probably using 3 bits for malloc_flag, operator_new_flag and free_flag is
>> redundant. I packed the state into 2 bits.
>>>
>>>
>>> Passes should get at the info via flags_from_decl_or_type () and a new
>>> ECF_FREE.
>>
>> Fixed.
>
>
> I think we should also have a testcase that verifies that no DSE happens for
> something that has a destructor.

Well, we should verify that the FE emits the call to the attribute
annotated delete
_after_ emitting the call to the destructor.  Which it already should do.

Richard.

>
> Bernd
>

Reply via email to