Re:GCC Undefined Behavior Sanitizer – Ubsan
by cygx on Thursday October 16, 2014 @07:35PM
(#8468536)
What's undefined about that?
The order of evaluation is only unspecified, ie you can't know which permutation of a,b,c you'll get - but you will end up with one of them (as long as IO doesn't fail)...
Re:GCC Undefined Behavior Sanitizer – Ubsan
by malkia on Friday October 17, 2014 @11:35AM
(#8471472)
Thanks for cygx and readerrrr for correcting me. The difference (to me) of undefined and unspecified is very subtle and often escapes my interpretation when I have to use it later.
The order of evaluation is only unspecified, ie you can't know which permutation of a,b,c you'll get - but you will end up with one of them (as long as IO doesn't fail)...