aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2024-04-18 08:00:59 -0300
committerAlexandre Oliva <oliva@gnu.org>2024-04-18 08:03:56 -0300
commitdcf0bd14cda706be8d0c18963812beefca51df39 (patch)
tree093826a0b0fbfa272c7b9d39c2787ced278f21e3 /gcc
parent5b178179e85ace01a97def40531e915c180aaeca (diff)
downloadgcc-dcf0bd14cda706be8d0c18963812beefca51df39.zip
gcc-dcf0bd14cda706be8d0c18963812beefca51df39.tar.gz
gcc-dcf0bd14cda706be8d0c18963812beefca51df39.tar.bz2
[libstdc++] [testsuite] disable SRA for compare_exchange_padding
On arm-vx7r2, the uses of as.load() as initializer get SRAed, so the padding bits in the tests are not what we might expect from full-word struct copies. I tried adding a function to perform bitwise copying, but even taking the as.load() argument by const&, we'd still construct a temporary with SRAed field-wise copying. Unable to find another way to ensure we wouldn't get a temporary, I went for disabling SRA. for libstdc++-v3/ChangeLog * testsuite/29_atomics/atomic/compare_exchange_padding.cc: Disable SRA.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions