Sajish V wrote: > Thanks for the reply, Denys. > My question was, why doesn't gcc catch it during compilation? > It is clear that we are trying to free a variable from stack. > Shouldn't gcc flag an error for this during compilation? I suppose I don't understand why you think gcc should catch it during compilation. If you explain why you think it should, preferably with reference to the language standard, we might get somewhere. Andrew.