15 for(i
=0;i
<TAB_SIZE
;i
++) {
25 for(i
=0;i
<TAB_SIZE
+ 1;i
++) {
37 for(it
=0;it
<NB_ITS
;it
++) {
38 for(i
=0;i
<TAB_SIZE
;i
++) {
51 tab4
= malloc(20 * sizeof(int));
66 tab4
= malloc(20 * sizeof(int));
81 tab4
= malloc(20 * sizeof(int));
96 for(i
=0;i
<TAB_SIZE
+ 1;i
++) {
99 printf("i=%d %x\n", i
, p
);
136 memcpy(tab
, tab1
, 10);
137 memmove(tab
, tab1
, 10);
160 int (*table_test
[])(void) = {
176 int main(int argc
, char **argv
)
182 printf("usage: boundtest n\n"
183 "test TCC bound checking system\n"
190 index
= atoi(argv
[1]);
191 /* well, we also use bounds on this ! */
192 ftest
= table_test
[index
];
199 * without bound 0.77 s