On Mon, Apr 07, 2025 at 03:04:56PM +0000, Qing Zhao wrote:
> Adding -fdiagnotics-details into GCC to provide more hints to the
> end users on how the warnings come from, in order to help the user
> to locate the exact location in source code on the specific warnings
> due to compiler optimizations.

FWIW, I've been very happily using this to find and squash tricky bugs
in Linux for a few months now. This is finally getting us close to being
able to enable -Warray-bounds globally. :)

https://lore.kernel.org/all/?q=%22-fdiagnostic%22+%22-details%22

-- 
Kees Cook

Reply via email to