$ gcc/xg++ -Bgcc/ ../gcc/testsuite/g++.dg/abi/aarch64_guard1.C -O -fdump-tree-original -S -o aarch64_guard1.s $ grep _ZGVZ3foovE1x aarch64_guard1.C.003t.original if (<<cleanup_point ((int) __atomic_load_1 (&_ZGVZ3foovE1x, 2) & 1) == 0>>) if (<<cleanup_point __cxa_guard_acquire (&_ZGVZ3foovE1x) != 0>>) TARGET_EXPR <D.3169, 0>;, x = bar ();;, D.3169 = 1;;, __cxa_guard_release (&_ZGVZ3foovE1x); >>>>>; 0925e39e497b5f218c4979b49afbdabcd3828e88 is the first bad commit commit 0925e39e497b5f218c4979b49afbdabcd3828e88 Author: ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Jun 4 09:19:51 2015 +0000 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224118 138bc75d-0d04-0410-961f-82ee72b054a4
mine.
Author: ramana Date: Wed Jun 10 07:43:31 2015 New Revision: 224313 URL: https://gcc.gnu.org/viewcvs?rev=224313&root=gcc&view=rev Log: Handle aarch64_guard1.C test Sorry about missing this hunk in the original submission, was in my tree but I hadn't spotted this as I was playing between the original AArch64 TARGET_RELAXED_ORDER and this patch. Applied as obvious. 2015-06-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/66200 PR target/66428 PR c++/66192 * g++.dg/abi/aarch64_guard1.C: Adjust test. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/abi/aarch64_guard1.C
fixed.
*** Bug 66497 has been marked as a duplicate of this bug. ***