You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The icall or vfcall should support unproto type function.
1. The w2ll will crash if compile the code like that:
```
static int (*qcmp)();
void specqsort(base, n, size, compar)
char *base;
int n;
int size;
int (*compar)();
{
char *min;
while ((*qcmp)(min) > 0){}
}
```
2. Error Log:
```
Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:2056:
Handle_arg_diff_ty: Parameter number is wrong, expected 0 got 1.
Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:1985:
CastToTargetType: can't handle other src-type now
```
Signed-off-by: Zhijin Zeng <[email protected]>
spec2k6 456.hmmer build fail.
one of the errors can be reproduce by the following code:
cmd:
error:
The text was updated successfully, but these errors were encountered: