https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117594
--- Comment #2 from Robin Dapp <rdapp at gcc dot gnu.org> --- What's the expected output of the latter test case? I'm seeing 36 no matter what I try, -O3, -O2 without 'v', etc. Even with an x86 GCC. And, looking at the loop for (unsigned j = 0; j < (z[i] ?: 10); j += 3) { a += 9; } with z[i] = h = d = 0, i.e. j < 10, a = 36 looks correct?