Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr83580.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do run } */ int a[2] = { 0, 1 }; int x = 129; int main () { volatile int v = 0; int t = x, i; for (i = 0; i < 1 + v + v + v + v + v + v + v + v + a[a[0]]; i++) t = a[(signed char) (130 - x)]; if (t != 1) __builtin_abort (); return 0; }