cor3ntin wrote: If we don't feel like enabling this by default, a strategy would be to attach this warning to some `-fhardened` flag (as available in GCC) https://github.com/llvm/llvm-project/pull/117914