Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / xstormy16 / bss_below100 / 13_if0_b100b_bit_0.c
blob81873954c1fa879fe5a7fec99bd3309014d8f857
1 /* { dg-options { -nostartfiles below100.o -Tbelow100.ld -O2 } } */
2 /* { dg-final { scan-assembler "b\[np\] B100A,#0," } } */
3 /* { dg-final { scan-assembler "b\[np\] B100B,#0," } } */
5 char acDummy[0xf0] __attribute__ ((__BELOW100__));
6 unsigned char B100A __attribute__ ((__BELOW100__));
7 unsigned char *pA = &B100A;
8 unsigned char B100B __attribute__ ((__BELOW100__));
9 unsigned char *pB = &B100B;
11 char *
12 Do (void)
14 if (!(B100A & 0x01))
16 if (!(B100B & 0x01))
17 return "Fail";
18 else
19 return "Success";
21 else
22 return "Fail";
25 int
26 main (void)
28 *pA = 0x34;
29 *pB = 0xcb;
30 return Do ()[0] == 'F';