]>
git.ipfire.org Git - thirdparty/gcc.git/commit
x86: Emit the TLS call after deleted instructions
For a basic block with only deleted instructions:
(code_label 348 23 349 45 3 (nil) [0 uses])
(note 349 348 436 45 [bb 45] NOTE_INSN_BASIC_BLOCK)
(note 436 349 362 45 NOTE_INSN_DELETED)
emit the TLS call after deleted instructions.
gcc/
PR target/122906
* config/i386/i386-features.cc (ix86_emit_tls_call): Emit the
TLS call after deleted instructions.
gcc/testsuite/
PR target/122906
* g++.target/i386/pr122906-1.C: New test.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>