* config/bfin/bfin.c (effective_address_32bit_p): Return true for
[official-gcc/alias-decl.git] / gcc / testsuite / gcc.dg / const-compare.c
blobc9e50cfbbbb4ed19f15c64605c5ca85705157339
1 /* { dg-do compile { target powerpc*-*-darwin* } } */
2 /* { dg-options "-m64 -O1 -static" } */
3 typedef unsigned long long uint64_t;
5 static int
6 match(name, pat)
7 uint64_t *name, *pat;
9 int ok=0, negate_range;
10 uint64_t c, k;
12 c = *pat++;
13 switch (c & 0xffffffffffULL) {
14 case ((uint64_t)(('[')|0x8000000000ULL)):
15 if ((negate_range = ((*pat & 0xffffffffffULL) == ((uint64_t)(('!')|0x8000000000ULL)) )) != '\0')
16 ++pat;
17 while (((c = *pat++) & 0xffffffffffULL) )
18 if ((*pat & 0xffffffffffULL) == ((uint64_t)(('-')|0x8000000000ULL)))
20 pat += 2;
23 if (ok == negate_range)
24 return(0);
25 break;
27 return(*name == '\0');