LWN.net Logo

GCC Explorer - an interactive take on compilation

GCC Explorer - an interactive take on compilation

Posted May 25, 2012 13:40 UTC (Fri) by vonbrand (subscriber, #4458)
In reply to: GCC Explorer - an interactive take on compilation by alankila
Parent article: GCC Explorer - an interactive take on compilation

Given that your compiler is allowed to assume that a function called printf is the standard printf, it can just do whatever premassaging it deems appropiate, as the example replacement by puts shows. Sure, it makes the compiler more complex and compilations take longer. The question really is if it is worth it.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds