Fix execution failure of parity_1.f90 on P10 [PR100952]
authorHaochen Gui <guihaoc@gcc.gnu.org>
Fri, 23 Jul 2021 01:47:23 +0000 (09:47 +0800)
committerHaochen Gui <guihaoc@gcc.gnu.org>
Fri, 23 Jul 2021 02:00:35 +0000 (10:00 +0800)
gcc/
PR target/100952
* config/rs6000/rs6000.md (cstore<mode>4): Fix wrong fall through.

gcc/config/rs6000/rs6000.md

index 2368153..a84438f 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.  */