[Bug rtl-optimization/121649] [16 Regression] wrong code with _BitInt() conversions (?) at -O2 since r16-2382 (cse)

rdapp at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 26 17:13:50 GMT 2026


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

Robin Dapp <rdapp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rdapp at gcc dot gnu.org

--- Comment #5 from Robin Dapp <rdapp at gcc dot gnu.org> ---
equiv_constant does:

            x = gen_lowpart (GET_MODE (x), x_ent->const_rtx);

Looks like this could already be the culprit that creates the wrong

    (const_vector:V8QI [
                    (const_int 3 [0x3])
                    (const_int 0 [0]) repeated x7])

equivalence.


More information about the Gcc-bugs mailing list