Re: [PATCH 10/10] compiler: Remove uninitialized_var() macro

2020-06-03 Thread Miguel Ojeda
Hi Kees, On Thu, Jun 4, 2020 at 1:32 AM Kees Cook wrote: > > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings > (e.g. "unused variable"). If the compiler thinks it is uninitialized, > either simply

Re: [PATCH 10/10] compiler: Remove uninitialized_var() macro

2020-06-03 Thread Bart Van Assche
On 2020-06-03 16:32, Kees Cook wrote: > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings > (e.g. "unused variable"). If the compiler thinks it is uninitialized, > either simply initialize the variable or make