2 !!DESCRIPTION!! Compound comparisons
3 !!ORIGIN!! SDCC regression tests
4 !!LICENCE!! GPL, read COPYING.GPL
10 unsigned char success = 0;
11 unsigned char failures = 0;
12 unsigned char dummy = 0;
14 #ifdef SUPPORT_BIT_TYPES
19 unsigned char uchar0 = 0;
20 unsigned char uchar1 = 0;
46 if((char0+5) >= (char1+9))
54 if(char0 != (char1+1) )
63 if((char0 >5 ) && (char0 < 10))
66 char0 +=5; /* char0 = 6 now */
68 if(!((char0 >5 ) && (char0 < 10)))
86 if((int0+5) >= (int1+9))
103 if((int0 >5 ) && (int0 < 10))
106 int0 +=5; /* int0 = 6 now */
108 if(!((int0 >5 ) && (int0 < 10)))
123 if((long0+1) < long1)
126 if((long0+5) >= (long1+9))
134 if(long0 != (long1+1) )
143 if((long0 >5 ) && (long0 < 10))
146 long0 +=5; /* long0 = 6 now */
148 if(!((long0 >5 ) && (long0 < 10)))
173 printf("failures: %d\n",failures);