This was detected by valgrind. I think GCC still does the right thing, but the C++ spec allows the compiler to do something stupid... like crash or only delete the first entry in the array.tags/mesa-7.9-rc1
@@ -411,7 +411,7 @@ ir_call::generate_inline(ir_instruction *next_ir) | |||
param_iter.next(); | |||
} | |||
delete(parameters); | |||
delete [] parameters; | |||
if (retval) | |||
return new ir_dereference_variable(retval); |