https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66497

            Bug ID: 66497
           Summary: FAIL: g++.dg/abi/aarch64_guard1.C
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: singhai at gcc dot gnu.org
  Target Milestone: ---

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>>)

Reply via email to