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