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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:1f1cd723c52deca6ea9aaa8c2b54e6c5b6478008

commit r16-4241-g1f1cd723c52deca6ea9aaa8c2b54e6c5b6478008
Author: Richard Biener <[email protected]>
Date:   Mon Oct 6 09:06:45 2025 +0200

    tree-optimization/122158 - vector reduction epilog for bit-precision result

    The following makes sure to perform the vector element extraction
    using the element type and convert to the original, possibly
    bit-precision, result afterwards.  I've also used gimple_build
    for the BIT_FIELD_REF since that simplifies the code.

            PR tree-optimization/122158
            * tree-vect-loop.cc (vect_create_epilog_for_reduction): Handle
            bit-precision result.

            * gcc.dg/vect/pr122158.c: New testcase.

Reply via email to