[Bug tree-optimization/114331] Missed optimization: indicate knownbits from dominating condition switch(trunc(a))

amacleod at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 24 16:12:54 GMT 2025


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

Andrew Macleod <amacleod at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Andrew Macleod <amacleod at redhat dot com> ---
Fixed by
commit 3d102b7a40bd179c93eccc31b74f95c69f81f45e
Author: Andrew MacLeod <amacleod@redhat.com>
Date:   Tue Oct 21 16:05:22 2025 -0400

    Create and apply bitmasks for truncating casts.


More information about the Gcc-bugs mailing list