Debian Codegraph @

gcc/testsuite/gcc.target/xstormy16/data_below100/10_set_b100b_bit_7.c

raw
1 /* { dg-options { -nostartfiles below100.o -Tbelow100.ld -O2 } } */
2 /* { dg-final { scan-assembler "set1 B100,#7" } } */
3
4 char acDummy[0xf0] __attribute__ ((__BELOW100__));
5 unsigned char B100 __attribute__ ((__BELOW100__)) = 0x34;
6 unsigned char *p = &B100;
7
8 void
9 Do (void)
10 {
11 B100 |= 0x80;
12 }
13
14 int
15 main (void)
16 {
17 Do ();
18 return (*p == 0xb4) ? 0 : 1;
19 }