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

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

https://gcc.gnu.org/g:0947d974136292205743bc9bdaca5eb1ea0d6d67

commit r17-4512-g0947d974136292205743bc9bdaca5eb1ea0d6d67
Author: Uros Bizjak <[email protected]>
Date:   Mon Sep 21 10:09:59 2026 +0200

    i386: Fix enabled attribute for V2QI negate/plusminus insns [PR127461]

    'enabled' attribute has to be a pass-invariant static property per the
    RTL docs, and optimize_function_for_size_p (cfun)'s cgraph frequency/count
    term isn't รข the same instability PR114232 already fixed for the insn
    condition, just missed here in enabled.

            PR target/127461

    gcc/ChangeLog:

            * config/i386/mmx.md (negv2qi2): Use optimize_size instead of
            optimize_function_for_size_p (cfun) in the enabled attribute.
            (<plusminus:insn>v2qi3): Ditto.

    gcc/testsuite/ChangeLog:

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

Reply via email to