bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk-5.1.1 bug report


From: Paul Eggert
Subject: Re: gawk-5.1.1 bug report
Date: Tue, 5 Apr 2022 23:51:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 4/5/22 22:18, arnold@skeeve.com wrote:
  dfa.c:1093:27: warning: use of bitwise '&' with boolean operands 
[-Wbitwise-instead-of-logical]

It's valid in C to use bitwise '&' on bool, and doing so here eliminates a conditional branch at the machine level, which can be a win.

How about if you disable -Wbitwise-instead-of-logical instead, since it's a false alarm?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]