|
From: | Paul Eggert |
Subject: | Re: [PATCH] tests: dissuade unwanted clang optimization |
Date: | Fri, 22 Nov 2024 09:57:11 -0800 |
User-agent: | Mozilla Thunderbird |
On 2024-11-22 07:50, Bruno Haible wrote:
The tests now give the impression that direct use of memcpy etc. with NULL and 0 arguments is unreliable. Which — as we know so far — isn't.
I suppose we test both with volatile function pointers, to test the actual Gnulib code, and without the pointers, to test possible compiler misoptimizations. Though that would generate more of the false-positive warnings that motivated the change....
[Prev in Thread] | Current Thread | [Next in Thread] |