News for hackers. Stuff that matters.
Re:Will It Optimize? See how well you can anticipate gcc's o... by mpyne on Sunday April 07, 2013 @11:58AM (#5507588)
No, it's still an extern declaration. However the compiler is still allowed to "peek within" an extern function as long as it has the definition available.

You can see this by inspecting the disassembly yourself, you'll see that printf never actually calls divide, and yet the divide function is still defined within the executable output.

There are no comments on this comment yet.