On Wed, Jul 23, 2025 at 08:01:38PM +0000, Qing Zhao wrote: > This is the 7th version of the patches for fixing PR109071. > > Adding -fdiagnotics-show-context=N into GCC to provide context information > 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.
Thanks! Using -fdiagnotics-show-context=3 I've rechecked the past bugs I fixed in Linux that I found with the earlier implementation[1], and v7 finds them all too. (And has more clear diagnostics, yay!) -Kees [1] https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687924.html -- Kees Cook