Hi Commit eb72dc663e9070b281be83a80f6f838a3a878822 introduces a ICE on AArch64. See the discussion on the bug for details. Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95569 Trivial patch fixing the ICE attached.
Bootstrap and tested on aarch64 platform. No new regression witnessed. ok for trunk? 2020-06-09 Qian Chao <qianch...@huawei.com> gcc/: PR tree-optimization/95569 * trans-mem.c (expand_assign_tm): Ensure that rtmp is marked TREE_ADDRESSABLE. * testsuite/gcc.dg/tm/pr51472.c: New test.
PR95569-v0.patch
Description: PR95569-v0.patch