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

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

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

commit r17-1723-gd018a10f24c82f02f2c093b31e91c03917feb8a4
Author: H.J. Lu <[email protected]>
Date:   Fri Jun 19 20:05:56 2026 +0800

    x86_cse: Skip JUMP from asm goto

    Skip a single set of JUMP came from asm goto:

    (jump_insn 9 2 111 2 (parallel [
                (set (reg:SI 134)
                    (asm_operands/v:SI ("") ("=r") 0 []
                         []
                         [
                            (label_ref:DI 10)
                        ] x.c:6))
                (clobber (reg:CC 17 flags))
            ]) "x.c":6:3 -1
         (expr_list:REG_UNUSED (reg:CC 17 flags)
            (nil))
     -> 10)

    when checking the broadcast source.

    gcc/

            PR target/125883
            * config/i386/i386-features.cc (ix86_broadcast_inner): Skip JUMP
            from asm goto.

    gcc/testsuite/

            PR target/125883
            * gcc.target/i386/pr125883.c: New test.

    Signed-off-by: H.J. Lu <[email protected]>

Reply via email to