LWN.net Logo

Optimizations and undefined behavior

Optimizations and undefined behavior

Posted Jul 31, 2009 14:28 UTC (Fri) by hozelda (guest, #19341)
In reply to: Optimizations and undefined behavior by martinfick
Parent article: Fun with NULL pointers, part 1

I know the conversation is partly about what developers should depend on or not, but keep in mind that "undefined behavior" and "implementation-defined behavior" mean something precise and completely different from each other in C99. See Chapter 3 (and 4) and informative Appendix J http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1336.pdf


(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