view gcc/testsuite/gcc.dg/torture/pr68104.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +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;
}