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