[Bug tree-optimization/126458] [16/17 Regression] Wrong code with ((int)a)>0 ? (type1)a : CST

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-07-29
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org
            Summary|Wrong code with bitint      |[16/17 Regression] Wrong
                   |                            |code with ((int)a)>0 ?
                   |                            |(type1)a : CST
   Target Milestone|---                         |16.2
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Either r16-4585-ga4e033fb51d566 or r16-4534-g07800a565abd20 .

So mine.

Note most likely you can reproduce it also other types besides _BitInt.
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.