[Bug target/122906] [16 Regression] ice in ix86_emit_tls_call, at config/i386/i386-features.cc:3956
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 1 02:44:42 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122906
--- Comment #18 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:
https://gcc.gnu.org/g:c44586acdc6e107de7ceea173aaaacd8b0525153
commit r16-5787-gc44586acdc6e107de7ceea173aaaacd8b0525153
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Dec 1 10:05:44 2025 +0800
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>
More information about the Gcc-bugs
mailing list