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
7f3ad6b6
Commit
7f3ad6b6
authored
23 years ago
by
Hans-Peter Nilsson
Committed by
Hans-Peter Nilsson
23 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/compile/20011229-1.c: New test.
From-SVN: r48363
parent
6f317ef3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
0 deletions
+82
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/compile/20011229-1.c
+78
-0
No files found.
gcc/testsuite/ChangeLog
View file @
7f3ad6b6
2001-12-29 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/compile/20011229-1.c: New test.
2001-12-28 Stan Shebs <shebs@apple.com>
* lib/objc-torture.exp: Resync with c-torture.exp.
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.c-torture/compile/20011229-1.c
0 → 100644
View file @
7f3ad6b6
/* ICE: call insn does not satisfy its constraints, MMIX port.
Origin: ghostscript-6.52, reduction from hp@bitrange.com. */
struct
s0
{
void
(
*
init_color
)(
void
*
,
void
*
);
};
struct
s1
{
void
(
*
map_cmyk
)(
short
,
void
*
,
void
**
,
void
*
);
void
(
*
map_rgb_alpha
)(
short
,
void
*
,
void
**
,
void
*
);
};
struct
s5
{
long
fill1
;
int
fill2
;
long
fill3
;
unsigned
int
fill4
,
fill5
;
};
struct
s2
{
struct
s5
x
,
y
;
};
struct
s3
{
long
dev_color
;
unsigned
int
key
;
};
struct
s4
{
unsigned
char
spp
;
int
alpha
;
struct
mc_
{
unsigned
int
values
[
14
];
unsigned
int
mask
,
test
;
int
exact
;
}
mask_color
;
void
**
pis
;
struct
s0
*
pcs
;
struct
dd_
{
struct
s2
row
[
2
];
struct
s2
pixel0
;
}
dda
;
struct
s3
clues
[
256
];
};
extern
struct
s1
*
get_cmap_procs
(
void
**
,
void
*
);
int
image_render_color
(
struct
s4
*
,
unsigned
char
*
,
int
,
void
*
);
int
image_render_color
(
struct
s4
*
penum
,
unsigned
char
*
buffer
,
int
data_x
,
void
*
dev
)
{
struct
s3
*
clues
=
penum
->
clues
;
void
**
pis
=
penum
->
pis
;
struct
s2
pnext
;
struct
s0
*
pcs
=
penum
->
pcs
;
struct
s1
*
cmap_procs
=
get_cmap_procs
(
pis
,
dev
);
void
(
*
map_4
)(
short
,
void
*
,
void
**
,
void
*
)
=
(
penum
->
alpha
?
cmap_procs
->
map_rgb_alpha
:
cmap_procs
->
map_cmyk
);
unsigned
int
mask
=
penum
->
mask_color
.
mask
;
unsigned
int
test
=
penum
->
mask_color
.
test
;
struct
s3
*
pic_next
=
&
clues
[
1
];
int
spp
=
penum
->
spp
;
unsigned
char
*
psrc
=
buffer
+
data_x
*
spp
;
unsigned
char
v
[
6
];
pnext
=
penum
->
dda
.
pixel0
;
__builtin_memset
(
&
v
,
0
,
sizeof
(
v
));
(
*
(
pcs
)
->
init_color
)
(
0
,
0
);
if
(
spp
==
4
)
{
v
[
0
]
=
psrc
[
0
];
v
[
1
]
=
psrc
[
1
];
if
((
buffer
[
0
]
&
mask
)
==
test
&&
penum
->
mask_color
.
exact
)
pic_next
->
dev_color
=
0
;
(
*
map_4
)(
v
[
0
],
&
pic_next
->
dev_color
,
pis
,
dev
);
}
return
0
;
}
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