aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20121220-1.c
blob: 05edb992919faf136617009628308090008d5f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
static __attribute__ (( always_inline )) __inline__
void rop_8_notsrc_or_dst(uint8_t *dst, uint8_t src)
{
  *dst = (~(src)) | (*dst);
}
void cirrus_colorexpand_notsrc_or_dst_8 (uint8_t * dst, int bits)
{
  uint8_t src;
  uint32_t colors[2];
  src = colors[bits];
  rop_8_notsrc_or_dst(dst, src);
}