[cfe-commits] [patch] Falling off main() returns zero
rjmccall at apple.com
Mon Jul 27 12:07:25 PDT 2009
This patch implements the C/C++ requirement that falling off main
returns zero. The easiest way to do this is to simply initialize the
return-value alloca to zero at the start of the function.
This is a pretty obvious patch, but this is my first foray into codegen,
so maybe I'm doing this horridly wrong.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cfe-commits