Mark Gritter (markgritter) wrote,
Mark Gritter


Why is gcc inlining the first two calls to a function but not the third?

My code looks like f(a,b) + f(c,d) + f(e,g).

The assembly dump has one call to f, not zero or three.
Tags: code, geek, rant
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment