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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Philipp Tomsich <ptoms...@gcc.gnu.org>:

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

commit r15-2903-gcc00a737e840986f4916918759ba214a95ae6888
Author: Manolis Tsamis <manolis.tsa...@vrull.eu>
Date:   Tue Aug 13 10:17:49 2024 +0200

    ifcvt: Fix force_operand ICE in noce_convert_multiple_sets [PR116353]

    Now that more operations are allowed for noce_convert_multiple_sets,
    we need to check noce_can_force_operand on the sequence before calling
    try_emit_cmove_seq.  Otherwise an inappropriate argument may be given
    to copy_to_mode_reg and result in an ICE.

            PR tree-optimization/116353

    gcc/ChangeLog:

            * ifcvt.cc (bb_ok_for_noce_convert_multiple_sets): Check
            noce_can_force_operand.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr116353.c: New test.

Reply via email to