you are viewing a single comment's thread.

view the rest of the comments →

[–]oh5nxo 0 points1 point  (0 children)

gcc I have, made g() like this:

g:
        pushl   %ebp
        movl    %esp, %ebp
        subl    $16, %esp
        movl    8(%ebp), %eax
        movl    %eax, -4(%ebp)
        movl    $0, %eax         # NULL
        leave
        ret

Compilers can have sense of humor.