Function not inlined

Philippe A. Bouchard philippeb@videotron.ca
Sun Sep 9 15:03:00 GMT 2001


Dump of assembler code for function main (using gcc 3.0):
    0x8048830 <main>:	push   %ebp
    0x8048831 <main+1>:	mov    %esp,%ebp
    0x8048833 <main+3>:	mov    0x80489dc,%edx
    0x8048839 <main+9>:	push   %ebx
    0x804883a <main+10>:	sub    $0x10,%esp
    0x804883d <main+13>:	test   $0x1,%edx
    0x8048843 <main+19>:	je     0x8048864 <main+52>
    0x8048845 <main+21>:	mov    0x80489e0,%ebx
    0x804884b <main+27>:	lea    0xfffffffb(%ebp),%ecx
    0x804884e <main+30>:	shr    $0x2,%edx
    0x8048851 <main+33>:	mov    (%ebx,%ecx,1),%eax
    0x8048854 <main+36>:	mov    (%eax,%edx,4),%edx
    0x8048857 <main+39>:	lea    (%ecx,%ebx,1),%eax
    0x804885a <main+42>:	push   %eax
    0x804885b <main+43>:	call   *%edx			// <- Not inlined
    0x804885d <main+45>:	xor    %eax,%eax
    0x804885f <main+47>:	mov    0xfffffffc(%ebp),%ebx
    0x8048862 <main+50>:	leave  
    0x8048863 <main+51>:	ret    



More information about the Gcc-bugs mailing list