view gcc/testsuite/gcc.c-torture/compile/20161124-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR middle-end/78429 */
/* Testcase by Chengnian Sun <chengniansun@gmail.com> */

int a[6];
char b;
unsigned c;
short d;
volatile int e;

int foo (void)
{
  int f;
  for (; c <= 2; c++) {
    d = 3;
    for (; d >= 0; d--) {
      int g = b;
      f = a[d] || b;
    }
    f || e;
  }
  return 0;
}