public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/guojiufu/heads/guojiufu-branch)] update comments and do not update case pr98064.cc
@ 2021-06-09 11:20 Jiu Fu Guo
0 siblings, 0 replies; only message in thread
From: Jiu Fu Guo @ 2021-06-09 11:20 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:ce08a33145e1b5736595c4c5a600ea5443103d03
commit ce08a33145e1b5736595c4c5a600ea5443103d03
Author: Jiufu Guo <guojiufu@linux.ibm.com>
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 || i<N", then it could be transform to:
+The "i!=N" is like "i>N || i<N", then it could be transformed to:
L_H:
if (i>N)
@@ -1810,7 +1810,7 @@ L1_H:
i++;
goto L1_H;
-The loop with "i<N" is in favor both GIMPLE and RTL passes. */
+The loop with "i<N" is in favor of both GIMPLE and RTL passes. */
static bool
split_loop_on_ne_cond (class loop *loop)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-09 11:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 11:20 [gcc(refs/users/guojiufu/heads/guojiufu-branch)] update comments and do not update case pr98064.cc Jiu Fu Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).