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
d1923ab7
Commit
d1923ab7
authored
Dec 01, 1999
by
Richard Henderson
Committed by
Richard Henderson
Dec 01, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/execute/991201-1.c: New.
From-SVN: r30752
parent
78ac7c81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/991201-1.c
+39
-0
No files found.
gcc/testsuite/ChangeLog
View file @
d1923ab7
1999-12-01 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/991201-1.c: New.
1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.dg/991129-1.c: New test.
...
...
gcc/testsuite/gcc.c-torture/execute/991201-1.c
0 → 100644
View file @
d1923ab7
struct
vc_data
{
unsigned
long
space
;
unsigned
char
vc_palette
[
16
*
3
];
};
struct
vc
{
struct
vc_data
*
d
;
};
struct
vc_data
a_con
;
struct
vc
vc_cons
[
63
]
=
{
&
a_con
};
int
default_red
[
16
];
int
default_grn
[
16
];
int
default_blu
[
16
];
extern
void
bar
(
int
);
void
reset_palette
(
int
currcons
)
{
int
j
,
k
;
for
(
j
=
k
=
0
;
j
<
16
;
j
++
)
{
(
vc_cons
[
currcons
].
d
->
vc_palette
)
[
k
++
]
=
default_red
[
j
];
(
vc_cons
[
currcons
].
d
->
vc_palette
)
[
k
++
]
=
default_grn
[
j
];
(
vc_cons
[
currcons
].
d
->
vc_palette
)
[
k
++
]
=
default_blu
[
j
];
}
bar
(
k
);
}
void
bar
(
int
k
)
{
if
(
k
!=
16
*
3
)
abort
();
}
int
main
()
{
reset_palette
(
0
);
exit
(
0
);
}
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