view gcc/testsuite/gcc.dg/torture/pr68104.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

/* { dg-do compile } */

typedef struct
{
  char vl;
  char weight;
} ib_vl_arb_element_t;
typedef struct { ib_vl_arb_element_t vl_entry[32]; } ib_vl_arb_table_t;
typedef enum { IB_SUCCESS } ib_api_status_t;
int a, b, d;
char c;
void fn1();
ib_api_status_t fn2()
{
  int e = b;
  ib_vl_arb_table_t f;
  if (e)
    for (a = 0; a < d; a++)
      f.vl_entry[a].vl &= c;
  fn1(f);
  return IB_SUCCESS;
}