https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112953
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- 2023-12-11 Jakub Jelinek <ja...@redhat.com> PR middle-end/112953 * attribs.cc (free_attr_data): Use delete x rather than delete[] x. --- gcc/attribs.cc.jj 2023-12-09 10:19:57.809813529 +0100 +++ gcc/attribs.cc 2023-12-11 09:55:28.894461698 +0100 @@ -315,7 +315,7 @@ void free_attr_data () { for (auto x : ignored_attributes_table) - delete[] x; + delete x; ignored_attributes_table.release (); } should fix this.