Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Perhaps the entire call of the function was replaced by a constant, then.


Yep: https://godbolt.org/g/LCUah9

    calls_cheating():
        movl    $60, %eax
        ret


No. The "constant" is only provided at runtime from Haskell through its FFI. GCC has no opportunity to optimize that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: