* name-lookup.h (lookup_field_1): Delete.
[official-gcc.git] / gcc / testsuite / gcc.target / sh / pr53988.c
blob3e21351216a6ef9565db591e5e018e735d91a12b
1 /* Check that the tst Rm,Rn instruction is generated for QImode and HImode
2 values loaded from memory. If everything goes as expected we won't see
3 any sign/zero extensions or and ops. On SH2A we don't expect to see the
4 movu insn. */
5 /* { dg-do compile } */
6 /* { dg-options "-O1" } */
7 /* { dg-final { scan-assembler-times "tst\tr" 8 } } */
8 /* { dg-final { scan-assembler-not "tst\t#255" } } */
9 /* { dg-final { scan-assembler-not "exts|extu|and|movu" } } */
11 int
12 test00 (char* a, char* b, int c, int d)
14 if (*a & *b)
15 return c;
16 return d;
19 int
20 test01 (unsigned char* a, unsigned char* b, int c, int d)
22 if (*a & *b)
23 return c;
24 return d;
27 int
28 test02 (short* a, short* b, int c, int d)
30 if (*a & *b)
31 return c;
32 return d;
35 int
36 test03 (unsigned short* a, unsigned short* b, int c, int d)
38 if (*a & *b)
39 return c;
40 return d;
43 int
44 test04 (char* a, short* b, int c, int d)
46 if (*a & *b)
47 return c;
48 return d;
51 int
52 test05 (short* a, char* b, int c, int d)
54 if (*a & *b)
55 return c;
56 return d;
59 int
60 test06 (int* a, char* b, int c, int d)
62 if (*a & *b)
63 return c;
64 return d;
67 int
68 test07 (int* a, short* b, int c, int d)
70 if (*a & *b)
71 return c;
72 return d;