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

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

https://gcc.gnu.org/g:1e61efc85a78350a287ed8319d81040177813bb6

commit r16-6202-g1e61efc85a78350a287ed8319d81040177813bb6
Author: Jakub Jelinek <[email protected]>
Date:   Wed Dec 17 09:13:58 2025 +0100

    i386: Obfuscate _mm_maskmove_si64 local variable [PR123155]

    Even automatic variables in inline functions in installed headers need to
be
    obfuscated, as e.g.
    is a valid program.  Most of the automatic variables are obfuscated, but
one
    has leaked in in the xmmintrin.h header.
    gcc -S -O2 -O2 -Werror-implicit-function-declaration -march=novalake
-msse4a -m3dnow -mavx -mavx2 -mfma4 -mxop -maes -mpclmul -mpopcnt -mabm -mlzcnt
-mbmi -mbmi2 -mtbm -mlwp -mfsgsbase -mrdrnd -mf16c -mfma -mrtm -mrdseed
-mprfchw -madx -mfxsr -mxsaveopt -msha -mxsavec -mxsaves -mclflushopt
-mavx512vp2intersect -mclwb -mmwaitx -mclzero -mpku -msgx -mrdpid -mgfni
-mpconfig -mwbnoinvd -menqcmd -mserialize -mtsxldtrk -mamx-tile -mamx-int8
-mamx-bf16 -mkl -mwidekl -mavxvnni -mavxifma -mavxvnniint8 -mavxneconvert
-mcmpccxadd -mamx-fp16 -mprefetchi -mraoint -mamx-complex -mavxvnniint16 -msm3
-msha512 -msm4 -mavx10.2 -mamx-avx512 -mamx-tf32 -mamx-fp8 -mmovrs -mamx-movrs
-g -dA gcc/testsuite/gcc.target/i386/sse-13.c
-fno-eliminate-unused-debug-{symbols,types} -o sse-13.s
    grep -A1 DW_TAG_variable sse-13.s | grep DW_AT_name | grep -v 'scii "__' |
grep -v 'DW_AT_name: "__'
    shows variables not prefixed with __ and the following patch fixes it.

    2025-12-17  Jakub Jelinek  <[email protected]>

            PR target/123155
            * config/i386/xmmintrin.h (_mm_maskmove_si64): Rename offset
automatic
            variable to __offset.

Reply via email to