
11 Oct
2014
11 Oct
'14
4:44 p.m.
Dear Jeroen,
In message 5437E778.3050306@myspectrum.nl you wrote:
calling printf("%s\n", "string") gets translated into puts by the compiler. There should be no difference in the binary.
Interesting, I didn't know that. Is this somewhere documented?
Is there any comprehensive list of such "magic" optimizations?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Research is what I'm doing when I don't know what I'm doing.
-- Wernher von Braun