Bug 66428 - [6 regression] FAIL: g++.dg/abi/aarch64_guard1.C -std=gnu++98 scan-tree-dump original "_ZGVZ3foovE1x & 1"
Summary: [6 regression] FAIL: g++.dg/abi/aarch64_guard1.C -std=gnu++98 scan-tree-dum...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 6.0
: P3 normal
Target Milestone: 6.0
Assignee: Ramana Radhakrishnan
URL:
Keywords:
: 66497 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-05 09:35 UTC by Andreas Schwab
Modified: 2015-06-11 07:21 UTC (History)
2 users (show)

See Also:
Host:
Target: aarch64-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed: 2015-06-10 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2015-06-05 09:35:22 UTC
$ 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
Comment 1 Ramana Radhakrishnan 2015-06-10 07:38:47 UTC
mine.
Comment 2 Ramana Radhakrishnan 2015-06-10 07:44:04 UTC
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
Comment 3 Ramana Radhakrishnan 2015-06-10 07:46:13 UTC
fixed.
Comment 4 Andreas Schwab 2015-06-11 07:21:42 UTC
*** Bug 66497 has been marked as a duplicate of this bug. ***