https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125992

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |16.2
                 CC|                            |krebbel at gcc dot gnu.org,
                   |                            |stefansf at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
--- gcc/config/s390/s390.md.jj  2026-06-02 08:15:04.576141861 +0200
+++ gcc/config/s390/s390.md     2026-06-26 01:23:35.038623318 +0200
@@ -10256,6 +10256,7 @@ (define_insn_and_split "*brx_stage1_<GPR
         (pc)))
    (set (match_operand:GPR 4 "nonimmediate_operand" "")
         (plus:GPR (match_dup 1) (match_dup 2)))
+   (clobber (reg:CC CC_REGNUM))
    (clobber (match_scratch:GPR 5 ""))]
   ""
   "#"
fixes this for me (note, the CC clobber has to come before the match_scratch
one, otherwise the insn is split infinitely using the same splitter.

Reply via email to