From 3382846558e02044598556e66e5ea1cb3115429d Mon Sep 17 00:00:00 2001 From: Haochen Gui Date: Fri, 23 Jul 2021 09:47:23 +0800 Subject: [PATCH] Fix execution failure of parity_1.f90 on P10 [PR100952] gcc/ PR target/100952 * config/rs6000/rs6000.md (cstore4): Fix wrong fall through. --- gcc/config/rs6000/rs6000.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 2368153269ca..a84438f8545c 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -11831,7 +11831,10 @@ { /* 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. */ -- 2.47.2