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

--- Comment #6 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:8c7c10e82d661785181f199fdc6b24890b30a54e

commit r17-4161-g8c7c10e82d661785181f199fdc6b24890b30a54e
Author: Richard Biener <[email protected]>
Date:   Fri Sep 11 10:31:58 2026 +0200

    tree-optimization/127310 - ICE with lane-reducing reduction

    The following fixes an issue with wrong loop mask registering
    due to the costing code adjusting ncopies_for_cost before we
    use it for mask registering.

            PR tree-optimization/127310
            * tree-vect-loop.cc (vectorizable_lane_reducing): Apply
            costing after registering loop masks.

            * gcc.dg/vect/vect-pr127310.c: New testcase.

Reply via email to