Matt Dillon <[EMAIL PROTECTED]> wrote:
>:As long as gcc uses %ebp to address local variables and functoin parameters
>:rather than %esp you should be fine.  %esp will be preserved, but if %esp is
>:for some odd reason used to address a variable during the C code, you are hosed.
>
>    I strongly recommend against making assumptions about GCC's use of %ebp vs
>    %esp... not if you want the __asm code to survive the GCC optimizer!

But if gcc breaks that assumption, that implies it would break
alloca(), and presumably they wouldn't do that.

Tony.
-- 
f.a.n.finch    [EMAIL PROTECTED]    [EMAIL PROTECTED]
"Dead! And yet there he stands!"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to