|
From: | Paul Eggert |
Subject: | Re: undefined-behavior obstack.c:139 |
Date: | Sun, 3 Dec 2023 01:04:59 -0800 |
User-agent: | Mozilla Thunderbird |
On 2023-12-02 01:04, Bruno Haible wrote:
On the contrary, I will try to find and eliminate such alarms.
Please don't complicate and/or slow down shared Gnulib code just to pacify this particular false alarm from Clang. The obstack fix was fine, because it made obstack clearer and no slower. But we shouldn't have to insert unnecessary "is the size zero?" checks merely to pacify the false alarms.
The right place to fix this problem is in Clang, not in Gnulib.
[Prev in Thread] | Current Thread | [Next in Thread] |