view gcc/testsuite/gcc.c-torture/compile/pr42234.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { dg-options "-g" } */

void
foo (int x)
{
  struct S { int s; } d = { 1 };
  unsigned int e = 1;
  if (x)
    e = x && d.s;
  else
    for (e = 0; e <= 3; e--)
      ;
  e++;
}