Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c    |    Meh, in C you gotta define EVERYTHING    |    243,242 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 242,870 of 243,242    |
|    James Kuyper to Paul J. Lucas    |
|    Re: On Undefined Behavior    |
|    07 Jan 26 06:31:31    |
      From: jameskuyper@alumni.caltech.edu              On 2026-01-06 21:08, Paul J. Lucas wrote:       ...       > What the author meant is that optimization can make UB manifest more       > bizarrely in ways than not optimizing wouldn't. Code that contains UB       > is always wrong.              "undefined behavior" is defined by the C standard as referring to       behavior on which "this international standard imposes no requirements".       It remains UB even if some other document imposes requirements on the       behavior. In particular, if a given implementation implements an       extension that gives defined behavior to code that the C standard does       not, it's still UB, but it's entirely reasonable for users of that       implementation to decide they want to use that extension.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca