aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-06-12 10:22:05 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-06-12 10:31:07 +0100
commit17412a74c531a21595311df5428f26552e82dfa8 (patch)
tree2617ccc1d5ae629d58dd10285bf1ed817a215680 /gcc/gimplify.c
parenta6db99a61a86814241b66a17a65633338d86cc17 (diff)
downloadgcc-17412a74c531a21595311df5428f26552e82dfa8.zip
gcc-17412a74c531a21595311df5428f26552e82dfa8.tar.gz
gcc-17412a74c531a21595311df5428f26552e82dfa8.tar.bz2
libstdc++: Make std::atomic_flag::test members const
Also fix the tests so they run without an explicit -std=gnu++2a in the RUNTESTFLAGS, and test the new function on const-qualified objects. * include/bits/atomic_base.h (atomic_flag::test): Add missing const qualifiers. * testsuite/29_atomics/atomic_flag/test/explicit.cc: Add dg-options and verify results of test function. * testsuite/29_atomics/atomic_flag/test/implicit.cc: Likewise.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions