optimizing out string functions when the string contains a NUL

Alexander Monakov amonakov@ispras.ru
Wed Jun 20 16:14:00 GMT 2012


Unlike printf(), puts() outputs a newline after the string, which is why it
cannot be optimized out.

Alexander



More information about the Gcc-help mailing list