Re: Bug: gcc ignores ebp clobber

Michael Brown <[email protected]>
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
On Saturday 15 August 2009 08:41:53 Stefan Hajnoczi wrote:
> We should still fix this since a new version of GCC may come along and
> decide to use %ebp in one of these functions.

When fixing, we need to be aware that using push/pop within inline asm can 
itself introduce potential silent bugs, if a potentially stack-based value is 
used in a non-register constraint occurring after the push instruction.

Michael

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.