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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Kito Cheng <k...@gcc.gnu.org>:

https://gcc.gnu.org/g:5615fea2fce63d49d67691f102601868147c2bbc

commit r14-11562-g5615fea2fce63d49d67691f102601868147c2bbc
Author: Andreas Schwab <sch...@suse.de>
Date:   Thu Sep 12 13:55:09 2024 +0200

    riscv: Fix duplicate assmbler label in @tlsdesc<mode> insn

    Use %= instead of maintaining a sequence number manually, so that it
    doesn't result in a duplicate assembler label when the insn is duplicated.

            PR target/116693
            * config/riscv/riscv.cc (riscv_legitimize_tls_address): Don't pass
            seqno to gen_tlsdesc and remove it.
            * config/riscv/riscv.md (@tlsdesc<mode>): Remove operand 1.  Use
            %= instead of %1 in template.

Reply via email to