https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128520
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This has nothing to do with _BitInt.
Lowering the _BitInt by hand:
#include <setjmp.h>
int printf(const char *, ...);
jmp_buf jb;
int g;
unsigned long long a[4][3];
int main(void)
{
for (int i = 0; i < 4; i++) {
g |= a[i][0];
if (setjmp(jb) == 0)
{
int j = (i + 1) % 4;
if ((a[j][2] & 1) || (a[j][1] == 0 && a[j][0] < 1))
longjmp(jb, 1);
}
int j = (i + 1) % 4;
a[j][0] = 5;
a[j][1] = 0;
a[j][2] = 0;
}
setjmp(jb);
printf("%d %d %d %d\n", (int)a[0][0], (int)a[1][0], (int)a[2][0],
(int)a[3][0]);
return 0;
}
results in exactly the same thing.