On Wed, Jan 08, 2025 at 06:30:36AM +0000, RVP wrote: > Over-aggressive dead store elimination (DSE) by compilers, I think. But, I > would categorize these as bugs if they change strncpy() semantics.
Indeed, and also they can't be dead stores in the context this came up because we copyout() the result (or the (non-)initialized parts would not leak to userspace. Martin