From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7926) id EE1E03858C54; Wed, 7 Jun 2023 16:28:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE1E03858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686155338; bh=DHPR4tIu7/xhuAIUKNX88yxLfP3tPoMtpNpmDa9Iy8o=; h=From:To:Subject:Date:From; b=DpDw/P3Bliy8+3I59x8S8ZYq6gA0xOjSPQkdVJnXU8jemFbMzLSHecN/tUjfK2Dd0 DBM5V6iNzr2mmYPNHxzw28jmYwhmjsBKUQn9TpeYGEbbHkfmb6xjt8ibjqwlstk89j CWsMrQhu5zxEx9vQ9deraRgbx+KLjZLXtq61Z6SY= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: jeevitha To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-7426] rs6000: Remove duplicate expression [PR106907] X-Act-Checkin: gcc X-Git-Author: Jeevitha Palanisamy X-Git-Refname: refs/heads/releases/gcc-13 X-Git-Oldrev: 98682182e394a0ebc96ba74d7958912ab328dee8 X-Git-Newrev: dda4745eb1c9b063c6004baef54aa4cec97edf3d Message-Id: <20230607162858.EE1E03858C54@sourceware.org> Date: Wed, 7 Jun 2023 16:28:58 +0000 (GMT) List-Id: https://gcc.gnu.org/g:dda4745eb1c9b063c6004baef54aa4cec97edf3d commit r13-7426-gdda4745eb1c9b063c6004baef54aa4cec97edf3d Author: Jeevitha Palanisamy Date: Tue Jun 6 06:19:02 2023 -0500 rs6000: Remove duplicate expression [PR106907] PR106907 has few warnings spotted from cppcheck. In that addressing duplicate expression issue here. Here the same expression is used twice in logical AND(&&) operation which result in same result so removing that. 2023-06-06 Jeevitha Palanisamy gcc/ PR target/106907 * config/rs6000/rs6000.cc (vec_const_128bit_to_bytes): Remove duplicate expression. (cherry picked from commit c4deccd44655c5d748dfed200a37f2b678c32fe8) Diff: --- gcc/config/rs6000/rs6000.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index 6debf0f63ff..45702d86588 100644 --- a/gcc/config/rs6000/rs6000.cc +++ b/gcc/config/rs6000/rs6000.cc @@ -28762,7 +28762,6 @@ vec_const_128bit_to_bytes (rtx op, 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]);