https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60759

Vincent Lefèvre <vincent-gcc at vinc17 dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent-gcc at vinc17 dot net

--- Comment #5 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
Clang's -Wconstant-logical-operand is useful: it found a bug in new MPFR code,
which had

  rnd_mode == MPFR_RNDN || MPFR_RNDF

instead of

  rnd_mode == MPFR_RNDN || rnd_mode == MPFR_RNDF

FYI, GCC's -Wlogical-op doesn't warn (20201002 snapshot).

Reply via email to