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
045a1f9d
Commit
045a1f9d
authored
Apr 12, 2000
by
Hans-Peter Nilsson
Committed by
Hans-Peter Nilsson
Apr 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* execute/20000412-6.c: New test.
From-SVN: r33126
parent
12d7e99c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
gcc/testsuite/gcc.c-torture/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/20000412-6.c
+22
-0
No files found.
gcc/testsuite/gcc.c-torture/ChangeLog
View file @
045a1f9d
Wed Apr 12 22:54:02 2000 Hans-Peter Nilsson <hp@axis.com>
* execute/20000412-6.c: New test.
Wed Apr 5 22:51:36 2000 Hans-Peter Nilsson <hp@axis.com>
Wed Apr 5 22:51:36 2000 Hans-Peter Nilsson <hp@axis.com>
* execute/960327-1.c (f): Add a letter to s[] to avoid stack-frame
* execute/960327-1.c (f): Add a letter to s[] to avoid stack-frame
...
...
gcc/testsuite/gcc.c-torture/execute/20000412-6.c
0 → 100644
View file @
045a1f9d
unsigned
bug
(
unsigned
short
value
,
unsigned
short
*
buffer
,
unsigned
short
*
bufend
);
unsigned
short
buf
[]
=
{
1
,
4
,
16
,
64
,
256
};
int
main
()
{
if
(
bug
(
512
,
buf
,
buf
+
3
)
!=
491
)
abort
();
exit
(
0
);
}
unsigned
bug
(
unsigned
short
value
,
unsigned
short
*
buffer
,
unsigned
short
*
bufend
)
{
unsigned
short
*
tmp
;
for
(
tmp
=
buffer
;
tmp
<
bufend
;
tmp
++
)
value
-=
*
tmp
;
return
value
;
}
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