illumos/gcc — pull request #13 by richlowe (2012-10-29 01:00:37+00:00)
Title: Need an option to force ABI calling-conventions of local functions on i386

Keith discovered that, on i386, a local function may have its arguments passed in registers, contrary to the ABI. Which screws up any kind of sensible debugging.

We should prevent this, and if possible any other undue molestation of local functions.