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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:f8409c3109d2970a1fd63ac1a61601138b7ae46f

commit r14-9976-gf8409c3109d2970a1fd63ac1a61601138b7ae46f
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Mon Apr 15 17:46:03 2024 +0200

    m68k: Quiet up cppcheck warning [PR114689]

    cppcheck apparently warns on the | !!sticky part of the expression and
    using | (!!sticky) quiets it up (it is correct as is).
    The following patch adds the ()s, and also adds them around mant >> 1 just
    in case it makes it clearer to all readers that the expression is parsed
    that way already.

    2024-04-15  Jakub Jelinek  <ja...@redhat.com>

            PR libgcc/114689
            * config/m68k/fpgnulib.c (__truncdfsf2): Add parentheses around
            !!sticky bitwise or operand to quiet up cppcheck.  Add parentheses
            around mant >> 1 bitwise or operand.

Reply via email to