Re: [PATCH] expr, v2: Don't clear whole unions [PR116416]

2024-10-07 Thread Jason Merrill
On 10/4/24 1:02 PM, Jakub Jelinek wrote: On Thu, Oct 03, 2024 at 12:14:35PM -0400, Jason Merrill wrote: Agreed, the padding bits have indeterminate values (or erroneous in C++26), so it's correct for infoleak-1.c to complain about 4b. I've been afraid what the kernel people would say about thi

[PATCH] expr, v2: Don't clear whole unions [PR116416]

2024-10-04 Thread Jakub Jelinek
On Thu, Oct 03, 2024 at 12:14:35PM -0400, Jason Merrill wrote: > Agreed, the padding bits have indeterminate values (or erroneous in C++26), > so it's correct for infoleak-1.c to complain about 4b. I've been afraid what the kernel people would say about this change (because reading Linus' mails sh