]> git.ipfire.org Git - thirdparty/gcc.git/commit
alpha: Fix duplicate !tlsgd!62 assemble error [PR115526]
authorUros Bizjak <ubizjak@gmail.com>
Wed, 17 Jul 2024 16:11:26 +0000 (18:11 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 17 Jul 2024 16:12:38 +0000 (18:12 +0200)
commit0841fd4c42ab053be951b7418233f0478282d020
treeb0fabe41fc2ba53f49b2d80feab3c197d2891be4
parent3412b6e9949a2e289921420e4e826210de6fe7f9
alpha: Fix duplicate !tlsgd!62 assemble error [PR115526]

Add missing "cannot_copy" attribute to instructions that have to
stay in 1-1 correspondence with another insn.

PR target/115526

gcc/ChangeLog:

* config/alpha/alpha.md (movdi_er_high_g): Add cannot_copy attribute.
(movdi_er_tlsgd): Ditto.
(movdi_er_tlsldm): Ditto.
(call_value_osf_<tls>): Ditto.

gcc/testsuite/ChangeLog:

* gcc.target/alpha/pr115526.c: New test.
gcc/config/alpha/alpha.md
gcc/testsuite/gcc.target/alpha/pr115526.c [new file with mode: 0644]