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

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
In the same file rs6000.cc, cppcheck produces:

gcc/config/rs6000/rs6000.cc:28477:8: style: Same expression on both sides of
'&&'. [duplicateExpression]

Source code is

  info->all_words_same
    = (info->words[0] == info->words[1]
       && info->words[0] == info->words[1]
       && info->words[0] == info->words[2]
       && info->words[0] == info->words[3]);

Reply via email to