> Certainly not Solaris.  Maybe some platform might choose to do it this
 > way if the compiler lacks a suitable builtin.  I'm not aware of any
 > platform for which that is true.  (malloc() would be particularly bad,
 > as well, since one of the things alloca() gives is automatic
 > destruction.   Lacking compiler support, I'm not sure how you'd do that
 > with malloc().)

Indeed, which was exactly why I asked the question :-)

I am not aware of any significant platform that does not have proper
alloca() support -- and it's hard to imagine a platform that would
support C99 VLAs but not alloca().  But I've been surprised before ;-)

-- 
meem
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to