Displaying 1 result from an estimated 1 matches for "__type_descriptor".
2011 Sep 13
1
[LLVMdev] Weird GIMPLE by gccgo
...;
MEM[(int[4] *)D.787][3] = 7;
D.788.__values = D.787;
D.788.__count = 4;
D.788.__capacity = 4;
D.789 = i.91.__object;
x = D.786 (D.789, D.788); // [1]
if (x != 17) goto <D.790>; else goto <D.791>;
Here `i' is
struct
{
struct
{
const struct * __type_descriptor;
int (*<Td6>) (struct ) Sum;
} * __methods;
void * __object;
} i;
Since `Sum' takes only one argument and is called with two in [1], [1]
trips an assertion when dragonegg tries to convert it. I'm not
familiar with GIMPLE -- is this normal? How can this be fixed? The
call do...