1 /* { dg-options "-O2 -floop-block -ffast-math" } */
3 typedef unsigned char UChar
;
5 typedef unsigned int UInt32
;
6 void VPrintf0(const char *);
7 void AssertH (int, int);
9 void fallbackSort ( UInt32
* fmap
,
16 Int32 H
, i
, j
, k
, l
, r
, cc
, cc1
;
19 UChar
* eclass8
= (UChar
*)eclass
;
22 VPrintf0 ( " bucket sorting ...\n" );
23 for (i
= 0; i
< 257; i
++) ftab
[i
] = 0;
24 for (i
= 0; i
< nblock
; i
++) ftab
[eclass8
[i
]]++;
25 for (i
= 0; i
< 256; i
++) ftabCopy
[i
] = ftab
[i
];
26 for (i
= 1; i
< 257; i
++) ftab
[i
] += ftab
[i
-1];
28 for (i
= 0; i
< nblock
; i
++) {
29 j
= eclass8
[i
] + ftab
[i
];
31 AssertH ( j
< 256, 1005 );