[Bug tree-optimization/123117] [16 Regression] LoongArch: wrong code at -O1/O2/O3 since r16-5561

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 24 13:53:04 GMT 2026


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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:d95d65c4a6277aa026cfd39c4564939ae298a0ba

commit r16-7657-gd95d65c4a6277aa026cfd39c4564939ae298a0ba
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Feb 24 09:50:17 2026 +0100

    tree-optimization/123117 - fix sign conversion check

    The following fixes the sign conversion check added to properly check
    whether the BIT_FIELD_REF does a sign conversion on the original
    vector elements instead of a conversion to the target constructor
    element type.  This avoids disabling all unpacking conversions.

            PR tree-optimization/123117
            PR target/120234
            * tree-ssa-forwprop.cc (simplify_vector_constructor): Fix
            sign conversion check guarding unpacking.


More information about the Gcc-bugs mailing list