1 /* { dg-do compile } */
3 typedef unsigned char uint8_t;
4 typedef unsigned short uint16_t;
7 rgb15to24_C (const uint8_t * src
, uint8_t * dst
, long src_size
)
10 const uint16_t *s
= (uint16_t *)src
;
11 uint8_t *d
= (uint8_t *)dst
;
19 *d
++ = (bgr
&0x3E0)>>2;
20 *d
++ = (bgr
&0x7C00)>>7;
24 /* { dg-final { cleanup-tree-dump "vect" } } */