https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85880
--- Comment #4 from Fredrik Hederstierna <fredrik.hederstie...@securitas-direct.com> --- Ok, you are probably right. I just was surprised that all GCC 4,5,6,7 gave same result, but something changed with 8. But you are right, its unpredictable results since its undefined. I practice it gave me some issues though to some benchmarking suites have code that have undefined variabled, but thats an issue for benchmarks, not GCC itself. So you are right, me can close it, just wanted it to be confirmed as unimportant. Thanks, Fredrik