]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix execution failure of parity_1.f90 on P10 [PR100952]
authorHaochen Gui <guihaoc@gcc.gnu.org>
Mon, 2 Aug 2021 03:14:15 +0000 (11:14 +0800)
committerHaochen Gui <guihaoc@gcc.gnu.org>
Mon, 2 Aug 2021 03:14:15 +0000 (11:14 +0800)
gcc/
PR target/100952
* config/rs6000/rs6000.md (cstore<mode>4): Fix wrong fall through.

(cherry picked from commit 3382846558e02044598556e66e5ea1cb3115429d)

gcc/config/rs6000/rs6000.md

index eefc74f33991fabca43a9cfc4153d3c34456673b..e9321f9b5b31446be034724242bfc7ce5124f065 100644 (file)
 {
   /* Everything is best done with setbc[r] if available.  */
   if (TARGET_POWER10 && TARGET_ISEL)
-    rs6000_emit_int_cmove (operands[0], operands[1], const1_rtx, const0_rtx);
+    {
+      rs6000_emit_int_cmove (operands[0], operands[1], const1_rtx, const0_rtx);
+      DONE;
+    }
 
   /* Expanding EQ and NE directly to some machine instructions does not help
      but does hurt combine.  So don't.  */