view gcc/testsuite/gcc.c-torture/compile/20121220-1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

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);
}