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

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-03-06
     Ever confirmed|0                           |1

--- Comment #6 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Confirmed on trunk (14.0.1 20240215)

+++ cd.gk.c.gkd 2024-03-06 10:21:59.679317666 +0000
@@ -71,6 +71,7 @@
      (nil))
 (code_label # 0 0 5 4 (nil) [1 uses])
 (note # 0 0 [bb 5] NOTE_INSN_BASIC_BLOCK)
+(note # 0 0 NOTE_INSN_DELETED)
 (insn # 0 0 5 (set (reg:CC 100 cc)
         (compare:CC (reg/v:SI 3 r3 [orig:116 crc ] [116])
             (const_int 0 [0]))) "cd.c":7:11# {*arm_cmpsi_insn}
@@ -99,7 +100,6 @@
                     (const_int -1 [0xffffffffffffffff])))
         ]) "cd.c":5:10 discrim 1# {thumb2_addsi3_compare0}
      (nil))
-(note # 0 0 NOTE_INSN_DELETED)
 (insn # 0 0 5 (set (reg:SI 2 r2 [orig:114 _1 ] [114])
         (ashiftrt:SI (reg/v:SI 3 r3 [orig:116 crc ] [116])
             (const_int 1 [0x1]))) "cd.c":7:11# {*arm_shiftsi3}


So it's probably harmless in this case, but still shouldn't happen.

Reply via email to