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

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

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

commit r16-3345-ge12208722dabdad25cc13bb580991b5bf511a104
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Fri Aug 22 05:56:42 2025 -0700

    Emit the TLS call after NOTE_INSN_FUNCTION_BEG

    For the beginning basic block:

    (note 4 0 2 2 [bb 2] NOTE_INSN_BASIC_BLOCK)
    (note 2 4 26 2 NOTE_INSN_FUNCTION_BEG)

    emit the TLS call after NOTE_INSN_FUNCTION_BEG.

    gcc/

            PR target/121635
            * config/i386/i386-features.cc (ix86_emit_tls_call): Emit the
            TLS call after NOTE_INSN_FUNCTION_BEG.

    gcc/testsuite/

            PR target/121635
            * gcc.target/i386/pr121635-1a.c: New test.
            * gcc.target/i386/pr121635-1b.c: Likewise.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Reply via email to