From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2066) id 9ED563972017; Wed, 9 Jun 2021 11:20:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9ED563972017 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jiu Fu Guo To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/guojiufu/heads/guojiufu-branch)] update comments and do not update case pr98064.cc X-Act-Checkin: gcc X-Git-Author: Jiufu Guo X-Git-Refname: refs/users/guojiufu/heads/guojiufu-branch X-Git-Oldrev: db2bf0efdc7aac753603c3331808b676a9e89c89 X-Git-Newrev: ce08a33145e1b5736595c4c5a600ea5443103d03 Message-Id: <20210609112006.9ED563972017@sourceware.org> Date: Wed, 9 Jun 2021 11:20:06 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2021 11:20:06 -0000 https://gcc.gnu.org/g:ce08a33145e1b5736595c4c5a600ea5443103d03 commit ce08a33145e1b5736595c4c5a600ea5443103d03 Author: Jiufu Guo Date: Wed Jun 9 19:17:02 2021 +0800 update comments and do not update case pr98064.cc Diff: --- gcc/testsuite/g++.dg/vect/pr98064.cc | 4 +--- gcc/tree-ssa-loop-split.c | 10 +++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/g++.dg/vect/pr98064.cc b/gcc/testsuite/g++.dg/vect/pr98064.cc index dcb2985d05a..74043ce7725 100644 --- a/gcc/testsuite/g++.dg/vect/pr98064.cc +++ b/gcc/testsuite/g++.dg/vect/pr98064.cc @@ -1,7 +1,5 @@ // { dg-do compile } -// { dg-additional-options "-O3 -Wno-stringop-overflow" } -/* There is warning message when "short g = var_8; g; g++" - is optimized/analyzed as string operation,e.g. memset. */ +// { dg-additional-options "-O3" } const long long &min(const long long &__a, long long &__b) { if (__b < __a) diff --git a/gcc/tree-ssa-loop-split.c b/gcc/tree-ssa-loop-split.c index 0365b6d069e..e9f23b32186 100644 --- a/gcc/tree-ssa-loop-split.c +++ b/gcc/tree-ssa-loop-split.c @@ -1664,9 +1664,9 @@ get_ne_cond_branch (struct loop *loop, tree *step) return e; /* If exit edge is at end of header, and header contains i++ or ++i, - only, it is simple to link the split loops: jump from the end of - one loop header to the new loop header, and use unchanged PHI - result of first loop as the entry PHI value of the second loop. */ + only, it is simple to link the split loops: jump from the end of + one loop header to the new loop header, and use unchanged PHI result + of the first loop as the entry PHI value of the second loop. */ if (bb == loop->header) { /* Only one phi. */ @@ -1793,7 +1793,7 @@ L_H: i++; goto L_H; -The "i!=N" is like "i>N || iN || iN) @@ -1810,7 +1810,7 @@ L1_H: i++; goto L1_H; -The loop with "i