Re:Undefined behavior in C is a reading error
by _kst_ on Thursday May 20, 2021 @03:28PM
(#27225899)
And my point is that as far as the language is concerned, there is no guaranteed loop count under any circumstances. (An implementation is allowed, but not required, to define the behavior for that implementation.)
[ Parent
| on HN ]
Re:Undefined behavior in C is a reading error
by Smaug123 on Thursday May 20, 2021 @05:41PM
(#27227704)
The two of you are not disagreeing except insofar as you're both using the word "guaranteed" to mean completely different things. _kst_, you're using it to mean "the programmer can rely on it". msbarnett, you're using it to mean "the compiler can rely on it".