Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
gcc knows about malloc()
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="James Dow Allen, post: 2469101"] Note that the optimization in question has nothing to do with any details of either processor architecture or malloc implementation. I didn't review gcc source, but did do a "strings" on the compiler object code. Several standard function names appeared together, but malloc appeared a second time later, almost by itself. I tried this, and, searching for "built-in functions" got a list of ... (surprise!) built-in functions. malloc is not built-in. Gnu has its own malloc() implementation, and mention of it shows up in other searches, but that isn't what I'm looking for either. I've concluded that readers in c.l.c, if any, who know of the optimization, or even understood what it is, were too distracted by my peculiar casting of malloc to attend to the interesting issue. (I thought context made it clear that the peculiar casting was simply for humor, but it now seems doubtful anyone here shares my sense of humor.) James [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
gcc knows about malloc()
Top