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
956568cd
Commit
956568cd
authored
25 years ago
by
Bernd Schmidt
Committed by
Bernd Schmidt
25 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New testcases.
From-SVN: r30909
parent
468644e6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
gcc/testsuite/gcc.c-torture/ChangeLog
+5
-0
gcc/testsuite/gcc.c-torture/compile/991214-1.c
+11
-0
gcc/testsuite/gcc.c-torture/compile/991214-2.c
+22
-0
No files found.
gcc/testsuite/gcc.c-torture/ChangeLog
View file @
956568cd
1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
* compile/991214-1.c: New test.
* compile/991214-2.c: New test.
1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
* compile/991202-1.c: New test.
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.c-torture/compile/991214-1.c
0 → 100644
View file @
956568cd
void
foo
(
double
bar
[],
double
*
zp
,
int
n
)
{
int
i
,
j
;
i
=
0
;
for
(
j
=
0
;
j
<
n
;
j
++
)
{
i
+=
j
+
1
;
bar
[
i
]
*=
(
1
.
0
+
*
zp
);
}
}
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.c-torture/compile/991214-2.c
0 → 100644
View file @
956568cd
extern
int
N
;
extern
int
nrows
;
extern
int
or_num_angles
;
typedef
struct
{
double
value
;
int
count
;
}
Histo
;
Histo
add_histo
[
10
][
2
][
36
][
36
];
void
cmd_connection_statistics
(
)
{
int
i
,
j
,
k
,
m
;
for
(
i
=
0
;
i
<
nrows
;
i
++
){
for
(
j
=
0
;
j
<
2
;
j
++
)
for
(
k
=
0
;
k
<
or_num_angles
;
k
++
)
;
}
}
This diff is collapsed.
Click to expand it.
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