https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693
--- Comment #5 from Jonathan Leffler <jonathan.leffler at gmail dot com> --- The link https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/C_002b_002b-Dialect-Options.html#index-Wuse-after-free is to the "Options Controlling C++ Dialect". I was using the C compiler, not the C++ compiler, so it is not at all obvious that I should look at that page — in fact, that page is irrelevant to users of the C compiler. The information there should be either copied to the C "Warnings Options" page, or linked to from the C page, where -Wuse-after-free is only mentioned and not defined. Incidentally, under "-Wuse-after-free=1" on the C++ page, there's a typo in: whether or not the call resulted in an actual reallocatio of memory The 'n' is missing from 'reallocation'.