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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

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

commit r12-8352-ge38194f5ad3074927aba811f7a71d19ea388e9bb
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Fri Apr 29 10:26:24 2022 -0700

    x86: Add missing .note.GNU-stack to assembly source

    Add .note.GNU-stack assembly source to avoid linker warning:

    ld: warning: /tmp/ccPZSZ7Z.o: missing .note.GNU-stack section implies
executable stack
    ld: NOTE: This behaviour is deprecated and will be removed in a future
version of the linker
    FAIL: gcc.target/i386/iamcu/test_3_element_struct_and_unions.c compilation,
 -O0

            PR testsuite/105433
            * gcc.target/i386/iamcu/asm-support.S: Add .note.GNU-stack.
            * gcc.target/x86_64/abi/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/avx/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/avx512f/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/avx512fp16/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/avx512fp16/m256h/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/avx512fp16/m512h/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/ms-sysv/do-test.S: Likewise.

    (cherry picked from commit 7e1f30d7edd433ca0fc28ae9ac1ce9b522790baf)

Reply via email to