1 /* ICE: call insn does not satisfy its constraints, MMIX port.
2 Origin: ghostscript-6.52, reduction from hp@bitrange.com. */
4 /* { dg-require-effective-target indirect_calls } */
8 void (*init_color
)(void *, void *);
12 void (*map_cmyk
)(short, void *, void **, void *);
13 void (*map_rgb_alpha
)(short, void *, void **, void *);
17 long fill1
; int fill2
;
18 long fill3
; unsigned int fill4
, fill5
;
35 unsigned int values
[14];
36 unsigned int mask
, test
;
48 extern struct s1
*get_cmap_procs (void **, void *);
49 int image_render_color (struct s4
*, unsigned char *, int, void *);
51 image_render_color (struct s4
*penum
, unsigned char *buffer
,
52 int data_x
, void *dev
)
54 struct s3
*clues
= penum
->clues
;
55 void **pis
= penum
->pis
;
57 struct s0
*pcs
= penum
->pcs
;
58 struct s1
*cmap_procs
= get_cmap_procs(pis
, dev
);
59 void (*map_4
)(short, void *, void **, void *) =
60 (penum
->alpha
? cmap_procs
->map_rgb_alpha
: cmap_procs
->map_cmyk
);
61 unsigned int mask
= penum
->mask_color
.mask
;
62 unsigned int test
= penum
->mask_color
.test
;
63 struct s3
*pic_next
= &clues
[1];
65 unsigned char *psrc
= buffer
+ data_x
* spp
;
68 pnext
= penum
->dda
.pixel0
;
69 __builtin_memset (&v
, 0, sizeof(v
));
70 (*(pcs
)->init_color
) (0, 0);
76 if ((buffer
[0] & mask
) == test
&& penum
->mask_color
.exact
)
77 pic_next
->dev_color
= 0;
78 (*map_4
)(v
[0], &pic_next
->dev_color
, pis
, dev
);