public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1238] sh: Update unexpected empty split condition
@ 2021-06-05 11:44 Kewen Lin
  0 siblings, 0 replies; only message in thread
From: Kewen Lin @ 2021-06-05 11:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:081c9dfb67a0d2e7425ddb5420ada588026f92ca

commit r12-1238-g081c9dfb67a0d2e7425ddb5420ada588026f92ca
Author: Kewen Lin <linkw@linux.ibm.com>
Date:   Fri May 28 00:21:14 2021 -0500

    sh: Update unexpected empty split condition
    
    gcc/ChangeLog:
    
            * config/sh/sh.md (doloop_end_split): Fix empty split condition.

Diff:
---
 gcc/config/sh/sh.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index e3af9ae21c1..93ee7c9a7de 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -6424,7 +6424,7 @@
    (clobber (reg:SI T_REG))]
   "TARGET_SH2"
   "#"
-  ""
+  "&& 1"
   [(parallel [(set (reg:SI T_REG)
 		   (eq:SI (match_dup 2) (const_int 1)))
 	      (set (match_dup 0) (plus:SI (match_dup 2) (const_int -1)))])


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-05 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05 11:44 [gcc r12-1238] sh: Update unexpected empty split condition Kewen Lin

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).