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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>:

https://gcc.gnu.org/g:5e1a9f4ccff390ae79a9b9d0d39b325f2b4ea925

commit r15-1733-g5e1a9f4ccff390ae79a9b9d0d39b325f2b4ea925
Author: liuhongt <hongtao....@intel.com>
Date:   Wed Jun 26 11:17:46 2024 +0800

    Define mask as extern instead of uninitialized local variables.

    The testcases are supposed to scan for vpopcnt{b,w,d,q} operations
    with k mask, but mask is defined as uninitialized local variable which
    will be set as 0 at rtl expand phase.
    And it's further simplified off by late_combine which caused scan assembly
failure.
    Move the definition of mask outside to make the testcases more stable.

    gcc/testsuite/ChangeLog:

            PR target/115610
            * gcc.target/i386/avx512bitalg-vpopcntb.c: Define mask as
            extern instead of uninitialized local variables.
            * gcc.target/i386/avx512bitalg-vpopcntbvl.c: Ditto.
            * gcc.target/i386/avx512bitalg-vpopcntw.c: Ditto.
            * gcc.target/i386/avx512bitalg-vpopcntwvl.c: Ditto.
            * gcc.target/i386/avx512vpopcntdq-vpopcntd.c: Ditto.
            * gcc.target/i386/avx512vpopcntdq-vpopcntq.c: Ditto.

Reply via email to