|
From: | Paul Eggert |
Subject: | Re: error: Support the compiler's control flow analysis better (was: copy-file: Silence gcc warnings) |
Date: | Fri, 2 Jun 2023 23:09:19 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 2023-06-02 15:03, Paul Eggert wrote:
How about changing this to use __builtin_constant_p instead of __OPTIMIZE__? I.e., use the comma expression if __builtin_constant_p (status), and use the statement expression otherwise.
I gave that a shot by installing the attached.
0001-error-do-not-evaluate-status-twice.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |