ranjith kumar <ranjithproxy@xxxxxxxxx> writes: > 2)What are the all possible cases in which GCC creates the temporary objects? > How to disable the compiler from producing temporary objects? There is no way to prevent the compiler from producing any temporary object at all. There are cases where it has to. For example gcc -o foo foo.c must create a temporary object file somewhere. Ian