[Bug target/126454] [16/17 Regression] RISCV: cm.popretz pass deletes "li a0,0" and gives wrong return value

"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=126454

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |16.1.0
             Status|UNCONFIRMED                 |NEW
            Summary|RISCV: cm.popretz pass      |[16/17 Regression] RISCV:
                   |deletes "li a0,0" and gives |cm.popretz pass deletes "li
                   |wrong return value          |a0,0" and gives wrong
                   |                            |return value
   Target Milestone|---                         |16.2
     Ever confirmed|0                           |1
           Keywords|                            |needs-bisection
   Last reconfirmed|                            |2026-07-29
      Known to work|                            |15.2.0

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. This was working in GCC 15.2.0 even.

Looks like the fix for PR 113715 is also no longer working ...
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.