Assembly code generated

Paolo Bonzini bonzini@gnu.org
Mon Sep 20 10:40:00 GMT 2004


> Rest of the assembly code I more or less understand can somebody tell me
> what purpose, if any, do the instructions 
> 	mov $0x0,%eax 
> 	sub %eax,%esp
> serve ?

None but at -O0 the compiler is not smart enough to remove them.  Try 
-O1 or higher optimization levels.

Paolo



More information about the Gcc mailing list