1 /* The arrays are too large for the xstormy16 - won't fit in 16 bits. */
2 /* { dg-do assemble } */
3 /* { dg-require-effective-target size32plus } */
4 /* { dg-xfail-if "The array too big" { m6811-*-* m6812-*-* } { "*" } { "" } } /*
5 /* { dg-skip-if "Array too big" { "avr-*-*" } { "*" } { "" } } */
6 /* { dg-xfail-if "The array too big" { h8300-*-* } { "-mno-h" "-mn" } { "" } } */
8 unsigned char TIFFFax2DMode[20][256];
9 unsigned char TIFFFax2DNextState[20][256];
10 unsigned char TIFFFaxUncompAction[20][256];
11 unsigned char TIFFFaxUncompNextState[20][256];
12 unsigned char TIFFFax1DAction[230][256];
13 unsigned char TIFFFax1DNextState[230][256];
15 typedef struct tableentry {
16 unsigned short length;
21 extern tableentry TIFFFaxWhiteCodes[];
22 extern tableentry TIFFFaxBlackCodes[];
24 static short sp_data, sp_bit;
29 unsigned char **inbuf;
32 unsigned char byte = **inbuf;
38 decode_white_run (inbuf)
40 unsigned char **inbuf;
52 sp_data = fetchByte (inbuf);
55 action = TIFFFax1DAction[state][sp_data];
56 state = TIFFFax1DNextState[state][sp_data];
64 action = (TIFFFaxWhiteCodes[ action - 2 ].runlen) ;