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
5531f0e0
Commit
5531f0e0
authored
Jun 17, 2005
by
Richard Henderson
Committed by
Richard Henderson
Jun 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/sync-2.c (do_qi): Cast negative results to char.
From-SVN: r101135
parent
d26afa4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/sync-2.c
+2
-2
No files found.
gcc/testsuite/ChangeLog
View file @
5531f0e0
2005
-
06
-
17
Richard
Henderson
<
rth
@redhat
.
com
>
*
gcc
.
dg
/
sync
-
2
.
c
(
do_qi
)
:
Cast
negative
results
to
char
.
2005
-
06
-
07
David
Billinghurst
<
David
.
Billinghurst
@riotinto
.
com
>
2005
-
06
-
07
David
Billinghurst
<
David
.
Billinghurst
@riotinto
.
com
>
PR
testsuite
/
21945
PR
testsuite
/
21945
...
...
gcc/testsuite/gcc.dg/sync-2.c
View file @
5531f0e0
...
@@ -23,7 +23,7 @@ do_qi (void)
...
@@ -23,7 +23,7 @@ do_qi (void)
abort
();
abort
();
if
(
__sync_fetch_and_sub
(
AI
+
7
,
12
)
!=
0
)
if
(
__sync_fetch_and_sub
(
AI
+
7
,
12
)
!=
0
)
abort
();
abort
();
if
(
__sync_fetch_and_and
(
AI
+
8
,
7
)
!=
-
1
)
if
(
__sync_fetch_and_and
(
AI
+
8
,
7
)
!=
(
char
)
-
1
)
abort
();
abort
();
if
(
__sync_fetch_and_or
(
AI
+
9
,
8
)
!=
0
)
if
(
__sync_fetch_and_or
(
AI
+
9
,
8
)
!=
0
)
abort
();
abort
();
...
@@ -34,7 +34,7 @@ do_qi (void)
...
@@ -34,7 +34,7 @@ do_qi (void)
if
(
__sync_add_and_fetch
(
AI
+
12
,
1
)
!=
1
)
if
(
__sync_add_and_fetch
(
AI
+
12
,
1
)
!=
1
)
abort
();
abort
();
if
(
__sync_sub_and_fetch
(
AI
+
13
,
12
)
!=
-
12
)
if
(
__sync_sub_and_fetch
(
AI
+
13
,
12
)
!=
(
char
)
-
12
)
abort
();
abort
();
if
(
__sync_and_and_fetch
(
AI
+
14
,
7
)
!=
7
)
if
(
__sync_and_and_fetch
(
AI
+
14
,
7
)
!=
7
)
abort
();
abort
();
...
...
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