Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.target / xstormy16 / sfr / 14_set_sfrw_bit_0.c
blob00f4f78cc953c367c3042aea8df6ac55174c12b9
1 /* { dg-options { -nostartfiles below100.o -Tbelow100.ld -O2 } } */
2 /* { dg-final { scan-assembler "mov.w r.,32532" } } */
4 #define SFR (*((volatile unsigned short*)0x7f14))
5 unsigned short *p = (unsigned short *) 0x7f14;
7 void
8 Do (void)
10 SFR |= 0x0001;
13 int
14 main (void)
16 *p = 0x1234;
17 Do ();
18 return (*p == 0x1235) ? 0 : 1;