Óscar Fuentes <ofv at wanadoo.es> writes: [snip] Solved: had to set the sret attribute on the call instuction. The "function" actually was a value containing the pointer to the function. -- Oscar