Re: [PATCH] attribs: Fix valgrind failures on -Wno-attributes* tests [PR112953]

2023-12-13 Thread Richard Biener
On Wed, 13 Dec 2023, Jakub Jelinek wrote: > Hi! > > The r14-6076 change changed the allocation of attribute tables from > table = new attribute_spec[2]; > to > table = new attribute_spec { ... }; > with > ignored_attributes_table.safe_push (table); > later in both cases, but didn't change the cor

[PATCH] attribs: Fix valgrind failures on -Wno-attributes* tests [PR112953]

2023-12-13 Thread Jakub Jelinek
Hi! The r14-6076 change changed the allocation of attribute tables from table = new attribute_spec[2]; to table = new attribute_spec { ... }; with ignored_attributes_table.safe_push (table); later in both cases, but didn't change the corresponding delete in free_attr_data, which means valgrind is