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.
Bernd