https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113013
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The use of __alloc_size__ here is definitely not well defined but GCC should NOT crash.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 13 Dec 2023 19:20:23 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113013
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The use of __alloc_size__ here is definitely not well defined but GCC should NOT crash.