Re: [PATCH v3] c: add Wzero-as-null-pointer-constant [PR117059]

2024-11-11 Thread Joseph Myers
On Mon, 11 Nov 2024, Martin Uecker wrote: > This patch enables the Wzero-as-null-pointer-constant for C. > The third version adds more tests. The various tests for boolean operations should also test those for pointers that are *not* null pointers (to verify that the implicit 0 being compared

[PATCH v3] c: add Wzero-as-null-pointer-constant [PR117059]

2024-11-11 Thread Martin Uecker
This patch enables the Wzero-as-null-pointer-constant for C. The third version adds more tests. Bootstrapped and regression tested on x86_64. commit 3afa3065be59374389daebfb32490fb93ad63d88 Author: Martin Uecker Date: Sat Nov 9 10:48:52 2024 +0100 c: add Wzero-as-null-pointer-constan