[Bug target/126463] [15/16/17 Regression] ICE at -O1 on aarch64 during RTL pass: final

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126463

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |easyhack
   Last reconfirmed|                            |2026-07-29

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
```
(define_insn "negv<GPI:mode>_cmp_only"
  [(set (reg:CC_V CC_REGNUM)
        (compare:CC_V
         (sign_extend:<DWI>
          (neg:GPI (match_operand:GPI 0 "register_operand" "r")))
         (neg:<DWI> (sign_extend:<DWI> (match_dup 0)))))]
  ""
  "negs\\t%<w>zr, %<w>0"
  [(set_attr "type" "alus_sreg")]
)
```

`%<w>zr` is wrong; it should just be `<w>zr` without the %.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.