The C function below can be compiled without error using SCC 4.31 except when the /debug /64 options are used. With those options, the SCC compiler says:
[Silverfrost SCC/WIN32 Ver 4.31 Copyright (c) Silverfrost Ltd 2020]
0013 }
*** Attempt to emit 32-bit instruction in /64 mode
1 ERRORS [<I2A> SCC/WIN32 Ver 4.31]
*** Compilation failed
The source code of the C function:
void inssrt2a(int *a, int *idx, int l, int r){
int key,j,i,iv;
for(i=l+1; i<=r; i++){
key = a[i]; iv=idx[i];
j=i-1;
while(j >= l && a[j] > key){
a[j+1] = a[j];
idx[j+1]=idx[j];
j--;
}
a[j+1] = key; idx[j+1]=iv;
}
}