* name-lookup.h (lookup_field_1): Delete.
[official-gcc.git] / gcc / testsuite / gcc.target / sh / sh2a-bclrmem.c
blobd039e6e9552297952a0ae4a36560e8238f749562
1 /* Testcase to check generation of a SH2A specific instruction
2 "BCLR #imm3,@(disp12,Rn)". */
3 /* { dg-do compile { target { sh2a } } } */
4 /* { dg-options "-O2 -mbitops" } */
5 /* { dg-final { scan-assembler "bclr"} } */
6 /* { dg-final { scan-assembler "bclr.b"} } */
8 volatile union un_paddr
10 unsigned char BYTE;
11 struct
13 unsigned char B15:1;
14 unsigned char B14:1;
15 unsigned char B13:1;
16 unsigned char B12:1;
17 unsigned char B11:1;
18 unsigned char B10:1;
19 unsigned char B9:1;
20 unsigned char B8:1;
21 unsigned char B7:1;
22 unsigned char B6:1;
23 unsigned char B5:1;
24 unsigned char B4:1;
25 unsigned char B3:1;
26 unsigned char B2:1;
27 unsigned char B1:1;
28 unsigned char B0:1;
30 BIT;
32 PADDR;
34 int
35 main ()
37 PADDR.BIT.B0 = 0;
38 PADDR.BIT.B3 = 0;
39 PADDR.BIT.B6 = 0;
41 PADDR.BIT.B1 &= 0;
42 PADDR.BIT.B4 &= 0;
43 PADDR.BIT.B7 &= 0;
45 PADDR.BIT.B10 = 0;
46 PADDR.BIT.B13 = 0;
47 PADDR.BIT.B15 = 0;
49 PADDR.BIT.B9 &= 0;
50 PADDR.BIT.B12 &= 0;
51 PADDR.BIT.B14 &= 0;
53 return 0;