https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109577
nightstrike <nightstrike at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nightstrike at gmail dot com --- Comment #5 from nightstrike <nightstrike at gmail dot com> --- (In reply to David Malcolm from comment #4) > Thanks for fixing this Tim. > > Keeping open to track backporting this to the gcc 13 branch. Before this gets backported, the testcase should be fixed. It uses an incorrect declaration of malloc, assuming that size_t is long. The standard defines malloc as size_t, so the declaration should use __SIZE_TYPE__ instead. This works, although you could also just include stdlib.h or use __builtin_malloc.