https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103085
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Wilco Dijkstra <wi...@gcc.gnu.org>: https://gcc.gnu.org/g:b33b2678342c655ff8ddb9fab379b26f656adc03 commit r12-4942-gb33b2678342c655ff8ddb9fab379b26f656adc03 Author: Wilco Dijkstra <wdijk...@arm.com> Date: Fri Nov 5 15:05:15 2021 +0000 AArch64: Fix PR103085 The stack protector implementation hides symbols in a const unspec, which means movdi/movsi patterns must always support const on symbol operands and explicitly strip away the unspec. Do this for the recently added GOT alternatives. Add a test to ensure stack-protector tests GOT accesses as well. 2021-11-05 Wilco Dijkstra <wdijk...@arm.com> PR target/103085 * config/aarch64/aarch64.c (aarch64_mov_operand_p): Strip the salt first. * config/aarch64/constraints.md: Support const in Usw. gcc/testsuite/ PR target/103085 * gcc.target/aarch64/pr103085.c: New test