Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
deff1f41
Commit
deff1f41
authored
Jan 21, 2015
by
Jonathan Wakely
Committed by
Jonathan Wakely
Jan 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* testsuite/29_atomics/atomic/64658.cc: Test stored value.
From-SVN: r219952
parent
4005b96a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
libstdc++-v3/ChangeLog
+4
-0
libstdc++-v3/testsuite/29_atomics/atomic/64658.cc
+3
-2
No files found.
libstdc++-v3/ChangeLog
View file @
deff1f41
2015-01-21 Jonathan Wakely <jwakely@redhat.com>
* testsuite/29_atomics/atomic/64658.cc: Test stored value.
2015-01-20 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
...
...
libstdc++-v3/testsuite/29_atomics/atomic/64658.cc
View file @
deff1f41
...
...
@@ -17,13 +17,14 @@
// { dg-require-atomic-builtins "" }
// { dg-options "-std=gnu++11" }
// { dg-do link }
#include <atomic>
#include <testsuite_hooks.h>
int
main
()
{
std
::
atomic
<
int
>
i
;
atomic_init
(
&
i
,
0
);
atomic_init
(
&
i
,
5
);
VERIFY
(
i
==
5
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment