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