var-const wrote: > Yes, please, unless there's a strong reason not to, consider `-fhardened`.
`-fhardened` also enables a few compiler flags. I think it would be better to have a separate flag that only affects the library and hopefully in the future start supporting `-fhardened` flag that would have an aligned behavior between GCC and Clang (including enabling equivalent compiler flags where possible). https://github.com/llvm/llvm-project/pull/78763 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits