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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Let me see where I made the mistake.
```
;; _11 = (int) _10;

(insn 10 9 11 (set (reg:CCZ 17 flags)
        (compare:CCZ (reg:SI 102 [ _7 ])
            (const_int 1 [0x1]))) "/app/example.cpp":10:24 -1
     (nil))

(insn 11 10 12 (set (reg:QI 109)
        (ne:QI (reg:CCZ 17 flags)
            (const_int 0 [0]))) "/app/example.cpp":10:24 -1
     (nil))
```
is definitely wrong.
It was in GCC 13:
```
(insn 10 9 11 (parallel [
            (set (reg:SI 92)
                (and:SI (reg:SI 86 [ _7 ])
                    (const_int 2 [0x2])))
            (clobber (reg:CC 17 flags))
        ]) "/app/example.cpp":10:24 -1
     (nil))

(insn 11 10 12 (set (reg:CCZ 17 flags)
        (compare:CCZ (reg:SI 92)
            (const_int 1 [0x1]))) "/app/example.cpp":10:24 -1
     (nil))

(insn 12 11 13 (set (reg:QI 94)
        (ne:QI (reg:CCZ 17 flags)
            (const_int 0 [0]))) "/app/example.cpp":10:24 -1
     (nil))
```

Reply via email to