Bug 66497 - FAIL: g++.dg/abi/aarch64_guard1.C
Summary: FAIL: g++.dg/abi/aarch64_guard1.C
Status: RESOLVED DUPLICATE of bug 66428
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-10 22:14 UTC by Sharad Singhai
Modified: 2015-06-11 07:21 UTC (History)
0 users

See Also:
Host: x86_64-unknown-linux-gnu
Target: aarch64-*-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sharad Singhai 2015-06-10 22:14:51 UTC
This is a bug which requires testcase update after r224118.

The failure is like this:

FAIL: g++.dg/abi/aarch64_guard1.C  -std=gnu++11  scan-tree-dump original "_ZGVZ3foovE1x & 1"


The passing testcase at r224117 had the following
aarch64_guard1.C.003t.original: (r224117)
  if ((_ZGVZ3foovE1x & 1) == 0)


but at r224118 an atomic acquiring load (type 2) is done instead (as below) which causes the pattern match to fail.

aarch64_guard1.C.003t.original: (r224118)
  if (<<cleanup_point ((int) __atomic_load_1 (&_ZGVZ3foovE1x, 2) & 1) == 0>>)
Comment 1 Sharad Singhai 2015-06-10 22:21:07 UTC
Already fixed at r224313.
Comment 2 Andreas Schwab 2015-06-11 07:21:42 UTC

*** This bug has been marked as a duplicate of bug 66428 ***